diff options
Diffstat (limited to 'kubernetes/namespaces/merch/deployment.yaml')
| -rw-r--r-- | kubernetes/namespaces/merch/deployment.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kubernetes/namespaces/merch/deployment.yaml b/kubernetes/namespaces/merch/deployment.yaml new file mode 100644 index 0000000..2f72e0d --- /dev/null +++ b/kubernetes/namespaces/merch/deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: thallium-backend + namespace: merch +spec: + replicas: 1 + selector: + matchLabels: + app: thallium-backend + template: + metadata: + labels: + app: thallium-backend + spec: + containers: + - name: thallium-backend + image: ghcr.io/owl-corp/thallium-backend:latest + imagePullPolicy: "Always" + envFrom: + - secretRef: + name: thallium-backend-env + securityContext: + readOnlyRootFilesystem: true + imagePullSecrets: + - name: ghcr-pull-secret + securityContext: + fsGroup: 2000 + runAsUser: 1000 + runAsNonRoot: true |