diff options
author | 2024-06-06 01:01:33 +0100 | |
---|---|---|
committer | 2024-06-06 16:06:58 +0000 | |
commit | f94c8908468a7299882b865b715dcb27c72b03b5 (patch) | |
tree | 7219bd136a5dd3d5b2668a1648ce34093ac315d4 /kubernetes/namespaces/bots | |
parent | Add myself to CODEOWNERS (diff) |
Add Metricity manifest
Copies the Metricity deployment manifest from the Metricity repo.
Diffstat (limited to 'kubernetes/namespaces/bots')
-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 |