Skip to content

Commit

Permalink
Merge pull request #1265 from snyk/feat/add_helm_env_var
Browse files Browse the repository at this point in the history
[CIT-75] Add optional service acc token env var
  • Loading branch information
kat1906 authored Feb 17, 2023
2 parents bfc01df + b10ec1e commit 06e67b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions snyk-monitor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ spec:
secretKeyRef:
name: {{ .Values.monitorSecrets }}
key: integrationId
- name: SNYK_SERVICE_ACCOUNT_API_TOKEN
valueFrom:
secretKeyRef:
name: {{ .Values.monitorSecrets }}
key: serviceAccountApiToken
optional: true
- name: SNYK_WATCH_NAMESPACE
value: {{ include "snyk-monitor.scope" . }}
- name: SNYK_DEPLOYMENT_NAMESPACE
Expand Down

0 comments on commit 06e67b0

Please sign in to comment.