Skip to content

Commit

Permalink
Fix reference to client-info secret.
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-schlichtherle committed Mar 11, 2023
1 parent b3cfce6 commit a240ecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ name: synology-csi
sources:
- https://github.com/christian-schlichtherle/synology-csi-chart/tree/main
- https://github.com/SynologyOpenSource/synology-csi/tree/main
version: 0.9.2-SNAPSHOT # must be SemVer 2
version: 0.9.2 # must be SemVer 2
6 changes: 1 addition & 5 deletions templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,5 @@ Client Info Secret Volume:
{{- define "synology-csi.clientInfoSecretVolume" -}}
name: client-info
secret:
{{- if .Values.clientInfoSecretName }}
secretName: {{ $.Values.clientInfoSecretName }}
{{- else }}
secretName: {{ include "synology-csi.fullname" . }}-client-info
{{- end }}
secretName: {{ .Values.clientInfoSecret.name | default (include "synology-csi.fullname" . | printf "%s-client-info") }}
{{- end }}

0 comments on commit a240ecb

Please sign in to comment.