aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-05-17 07:50:13 -0500
committerXe Iaso <me@xeiaso.net>2024-05-17 07:50:13 -0500
commitc079ad6d916006cd8bdf337e1584d00095a31426 (patch)
tree7a2056f02cb44c783f8a39cf5a083b5ca6013671 /cmd
parentbb1ea1a3fa85008a8710c74a58d22a308046ca42 (diff)
downloadx-c079ad6d916006cd8bdf337e1584d00095a31426.tar.xz
x-c079ad6d916006cd8bdf337e1584d00095a31426.zip
remove crashcart container
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sapientwindex/manifest.yaml24
1 files changed, 8 insertions, 16 deletions
diff --git a/cmd/sapientwindex/manifest.yaml b/cmd/sapientwindex/manifest.yaml
index 829a98b..ca21f4b 100644
--- a/cmd/sapientwindex/manifest.yaml
+++ b/cmd/sapientwindex/manifest.yaml
@@ -17,6 +17,10 @@ spec:
labels:
app.kubernetes.io/name: sapientwindex
spec:
+ volumes:
+ - name: 1password
+ secret:
+ secretName: sapientwindex
containers:
- name: bot
image: ghcr.io/xe/x/sapientwindex:latest
@@ -38,19 +42,7 @@ spec:
- ALL
seccompProfile:
type: RuntimeDefault
- env:
- - name: REDDIT_USERNAME
- valueFrom:
- secretKeyRef:
- name: sapientwindex
- key: REDDIT_USERNAME
- - name: SUBREDDITS
- valueFrom:
- secretKeyRef:
- name: sapientwindex
- key: SUBREDDITS
- - name: DISCORD_WEBHOOK_URL
- valueFrom:
- secretKeyRef:
- name: sapientwindex
- key: DISCORD_WEBHOOK_URL
+ volumeMounts:
+ - name: 1password
+ readOnly: true
+ mountPath: "/run/secrets/1password"