This commit is contained in:
33
rickroll/deploy.rickroll.yaml
Normal file
33
rickroll/deploy.rickroll.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: rickroll
|
||||
labels:
|
||||
app: rickroll
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rickroll
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: rickroll
|
||||
spec:
|
||||
containers:
|
||||
- name: server
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
image: gitea.konchin.com/service/rickroll:latest
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
env:
|
||||
- name: URI
|
||||
value: https://youtu.be/dQw4w9WgXcQ
|
||||
- name: PORT
|
||||
value: '8080'
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
Reference in New Issue
Block a user