Skip to content

Commit

Permalink
Merge pull request #11 from nuwang/add_mounter_and_optional_secrets
Browse files Browse the repository at this point in the history
Add support for optional secrets
  • Loading branch information
vitalif authored Jun 20, 2023
2 parents 9a04d5a + a3fa9f3 commit e334aed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/helm/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ metadata:
namespace: {{ .Release.Namespace }}
name: {{ .Values.secret.name }}
stringData:
{{- if .Values.secret.accessKey }}
accessKeyID: {{ .Values.secret.accessKey }}
{{- end }}
{{- if .Values.secret.secretKey }}
secretAccessKey: {{ .Values.secret.secretKey }}
{{- end }}
endpoint: {{ .Values.secret.endpoint }}
{{- end -}}

0 comments on commit e334aed

Please sign in to comment.