From c079ad6d916006cd8bdf337e1584d00095a31426 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Fri, 17 May 2024 07:50:13 -0500 Subject: remove crashcart container Signed-off-by: Xe Iaso --- cmd/sapientwindex/manifest.yaml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'cmd') 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" -- cgit v1.2.3