Skip to content

Commit

Permalink
Merge pull request #2114 from Sefaria/tasks-slack
Browse files Browse the repository at this point in the history
feat: add slack url var to tasks pod
  • Loading branch information
akiva10b authored Nov 14, 2024
2 parents a43c710 + cc7e3a3 commit 6898a18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helm-chart/sefaria-project/templates/rollout/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ spec:
value: "varnish-{{ .Values.deployEnv }}-{{ .Release.Revision }}"
- name: HELM_REVISION
value: "{{ .Release.Revision }}"
- name: SLACK_URL
valueFrom:
secretKeyRef:
name: { { template "sefaria.secrets.slackWebhook" . } }
key: slack-webhook
envFrom:
{{- if .Values.tasks.enabled }}
- secretRef:
Expand Down

0 comments on commit 6898a18

Please sign in to comment.