aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/default/bot/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-04-14 23:12:48 +0100
committerGravatar Joe Banks <[email protected]>2024-04-14 23:12:48 +0100
commit85afb3b8ca98db360c863cc56af18c411c6489e2 (patch)
treec5adcf0fe35eeebc1eaaf0a20c44656ed36b018b /kubernetes/namespaces/default/bot/deployment.yaml
parentConfigure Ansible for user authentication (#213) (diff)
Move all bots to designated namespaces
Diffstat (limited to 'kubernetes/namespaces/default/bot/deployment.yaml')
-rw-r--r--kubernetes/namespaces/default/bot/deployment.yaml48
1 files changed, 0 insertions, 48 deletions
diff --git a/kubernetes/namespaces/default/bot/deployment.yaml b/kubernetes/namespaces/default/bot/deployment.yaml
deleted file mode 100644
index 8f274f7..0000000
--- a/kubernetes/namespaces/default/bot/deployment.yaml
+++ /dev/null
@@ -1,48 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: bot
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: bot
- template:
- metadata:
- labels:
- app: bot
- spec:
- securityContext:
- fsGroup: 2000
- runAsUser: 1000
- runAsNonRoot: true
- containers:
- - name: bot
- image: ghcr.io/python-discord/bot:latest
- imagePullPolicy: Always
- resources:
- requests:
- cpu: 750m
- memory: 600Mi
- limits:
- cpu: 1000m
- memory: 1400Mi
- envFrom:
- - secretRef:
- name: bot-env
- - secretRef:
- name: redis-credentials
- - configMapRef:
- name: bot-config-env
- volumeMounts:
- - mountPath: /bot/logs
- name: logs-vol
- - mountPath: /.cache/python-tldextract
- name: tldextract-cache
- securityContext:
- readOnlyRootFilesystem: true
- volumes:
- - name: logs-vol
- emptyDir: {}
- - name: tldextract-cache
- emptyDir: {}