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