We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2c49b8 commit bdb6a42Copy full SHA for bdb6a42
deployment/kubernetes/slackbot-service-deployment.yaml
@@ -18,7 +18,7 @@ spec:
18
- name: slack-bot
19
image: onyxdotapp/onyx-backend:latest
20
imagePullPolicy: IfNotPresent
21
- command: ["python", "onyxdotapp/onyxbot/slack/listener.py"]
+ command: ["python", "onyx/onyxbot/slack/listener.py"]
22
ports:
23
- containerPort: 8000
24
resources:
@@ -40,6 +40,17 @@ spec:
40
port: 8000
41
initialDelaySeconds: 15
42
periodSeconds: 20
43
+ # There are some extra values since this is shared between services
44
+ # There are no conflicts though, extra env variables are simply ignored
45
+ env:
46
+ - name: REDIS_PASSWORD
47
+ valueFrom:
48
+ secretKeyRef:
49
+ name: onyx-secrets
50
+ key: redis_password
51
+ envFrom:
52
+ - configMapRef:
53
+ name: env-configmap
54
55
---
56
apiVersion: v1
0 commit comments