aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml')
-rw-r--r--kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml b/kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml
new file mode 100644
index 0000000..30277cd
--- /dev/null
+++ b/kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml
@@ -0,0 +1,28 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: monsteras
+ namespace: codejam-winners
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: monsteras
+ template:
+ metadata:
+ labels:
+ app: monsteras
+ spec:
+ containers:
+ - name: monsteras
+ image: ghcr.io/python-discord/cj-monsteras
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 80
+ name: http
+ securityContext:
+ readOnlyRootFilesystem: true
+ securityContext:
+ fsGroup: 2000
+ runAsUser: 1000
+ runAsNonRoot: true