Skip to content

Commit

Permalink
check if K8sAuthz is enabled before mounting the corresponding secret (
Browse files Browse the repository at this point in the history
  • Loading branch information
HaniAlshikh authored Sep 29, 2022
1 parent 141bcb3 commit 6fe4267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/package/helm/queryhandler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ spec:
envFrom:
- secretRef:
name: {{ .Values.messageBus.configSecret | default (printf "%s-%s" (include "queryhandler.fullname" .) "bus") }}
{{- if .Values.k8sAuthZ.enabled }}
- secretRef:
name: {{ .Values.k8sAuthZ.existingSecret | default (printf "%s-%s" (include "queryhandler.fullname" .) "k8sauthz") }}
{{- end }}
args:
- /app
- server
Expand Down

0 comments on commit 6fe4267

Please sign in to comment.