aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/default/modmail/bot
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/namespaces/default/modmail/bot')
-rw-r--r--kubernetes/namespaces/default/modmail/bot/README.md7
-rw-r--r--kubernetes/namespaces/default/modmail/bot/deployment.yaml50
2 files changed, 0 insertions, 57 deletions
diff --git a/kubernetes/namespaces/default/modmail/bot/README.md b/kubernetes/namespaces/default/modmail/bot/README.md
deleted file mode 100644
index ac29ac2..0000000
--- a/kubernetes/namespaces/default/modmail/bot/README.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Modmail bot
-These manifests will provision the resources for an instance of our Modmail bot.
-
-To deploy this bot simply run:
-```
-kubectl apply -f deployment.yaml
-```
diff --git a/kubernetes/namespaces/default/modmail/bot/deployment.yaml b/kubernetes/namespaces/default/modmail/bot/deployment.yaml
deleted file mode 100644
index b54fd2a..0000000
--- a/kubernetes/namespaces/default/modmail/bot/deployment.yaml
+++ /dev/null
@@ -1,50 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: modmail-bot
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: modmail-bot
- template:
- metadata:
- labels:
- app: modmail-bot
- spec:
- containers:
- - name: modmail-bot
- image: ghcr.io/python-discord/modmail:latest
- resources:
- requests:
- cpu: 75m
- memory: 500Mi
- limits:
- cpu: 125m
- memory: 750Mi
- imagePullPolicy: "Always"
- volumeMounts:
- - mountPath: /modmailbot/plugins
- name: plugins-vol
- - mountPath: /modmailbot/temp
- name: temp-vol
- env:
- - name: TMPDIR
- value: /modmailbot/temp
- envFrom:
- - secretRef:
- name: modmail
- - configMapRef:
- name: modmail-config-env
- securityContext:
- readOnlyRootFilesystem: true
- volumes:
- - name: plugins-vol
- emptyDir: {}
- - name: temp-vol
- emptyDir:
- medium: Memory
- securityContext:
- fsGroup: 2000
- runAsUser: 1000
- runAsNonRoot: true