Skip to content

Commit

Permalink
[helm] fix about volume auth-config-secret definition if .rsa is nil (r…
Browse files Browse the repository at this point in the history
…obusta-dev#1161)

Co-authored-by: arik <alon.arik@gmail.com>
  • Loading branch information
2 people authored and pavangudiwada committed May 30, 2024
1 parent d2e62b8 commit 88c6bcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/robusta/templates/runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ spec:
optional: true
- name: auth-config-secret
secret:
secretName: {{ default "robusta-auth-config-secret" .Values.rsa.existingSecret }}
{{- $subBloc := .Values.rsa | default dict }}
secretName: {{ default "robusta-auth-config-secret" $subBloc.existingSecret }}
optional: true
{{- if .Values.playbooksPersistentVolume }}
- name: persistent-playbooks-storage
Expand Down

0 comments on commit 88c6bcf

Please sign in to comment.