aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2025-09-28 20:08:31 +0100
committerGravatar Chris Lovering <[email protected]>2025-09-28 20:11:14 +0100
commit9e6caa1542d3b44a83d7d466de0875782d12baf2 (patch)
treecddba6b1f32348dccba4bdab99b643dbb2af8849 /kubernetes/namespaces/codejam-winners/monsteras/deployment.yaml
parentFix formatting in copilot-instructions.md (diff)
Add the codejam winners to the k8s clustercj-winners
These will be deleted once Johannes next takes his meds
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