Skip to content

Commit

Permalink
Allow to use specified key for slack existing secrets (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikonNLG authored Dec 27, 2023
1 parent 386e7b7 commit 90172d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 20.12.0
version: 20.12.1
appVersion: 23.11.0
dependencies:
- name: memcached
Expand Down
6 changes: 3 additions & 3 deletions sentry/templates/_helper.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -519,17 +519,17 @@ Common Sentry environment variables
valueFrom:
secretKeyRef:
name: {{ .Values.slack.existingSecret }}
key: "client-id"
key: {{ default "client-id" .Values.slack.existingSecretClientId }}
- name: SLACK_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: {{ .Values.slack.existingSecret }}
key: "client-secret"
key: {{ default "client-secret" .Values.slack.existingSecretClientSecret }}
- name: SLACK_SIGNING_SECRET
valueFrom:
secretKeyRef:
name: {{ .Values.slack.existingSecret }}
key: "signing-secret"
key: {{ default "signing-secret" .Values.slack.existingSecretSigningSecret }}
{{- end }}
{{- if and .Values.github.existingSecret }}
- name: GITHUB_APP_PRIVATE_KEY
Expand Down

0 comments on commit 90172d9

Please sign in to comment.