Skip to content

Commit

Permalink
fix: move slack env declaration out of otel logic
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Nov 14, 2024
1 parent a43c710 commit 960f72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm-chart/sefaria-project/templates/rollout/web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ spec:
fieldPath: spec.nodeName
- name: OTEL_RESOURCE_ATTRIBUTES
value: k8s.container.name=app,k8s.deployment.name={{ .Values.deployEnv }}-web,k8s.namespace.name={{ .Release.Namespace }},k8s.node.name=$(OTEL_RESOURCE_ATTRIBUTES_NODE_NAME),k8s.pod.name=$(OTEL_RESOURCE_ATTRIBUTES_POD_NAME)
{{- end }}
- name: SLACK_URL
valueFrom:
secretKeyRef:
name: { { template "sefaria.secrets.slackWebhook" . } }
key: slack-webhook
{{- end }}
envFrom:
{{- if .Values.tasks.enabled }}
- secretRef:
Expand Down

0 comments on commit 960f72d

Please sign in to comment.