diff options
Diffstat (limited to 'kubernetes')
-rw-r--r-- | kubernetes/namespaces/bots/metricity/deployment.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kubernetes/namespaces/bots/metricity/deployment.yaml b/kubernetes/namespaces/bots/metricity/deployment.yaml new file mode 100644 index 0000000..15194a5 --- /dev/null +++ b/kubernetes/namespaces/bots/metricity/deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: metricity + namespace: bots +spec: + replicas: 1 + strategy: + type: Recreate + selector: + matchLabels: + app: metricity + template: + metadata: + labels: + app: metricity + spec: + securityContext: + fsGroup: 2000 + runAsUser: 1000 + runAsNonRoot: true + containers: + - name: metricity + image: ghcr.io/python-discord/metricity:latest + imagePullPolicy: "Always" + envFrom: + - secretRef: + name: metricity-env + securityContext: + readOnlyRootFilesystem: true |