Skip to content

Commit

Permalink
fix(charts): allow "" for Values.s3.accesskey|secretkey for helm3
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan McNaught committed Oct 6, 2020
1 parent 8a8a962 commit 3035c6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/workflow/templates/objectstorage-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ data: {{ if eq .Values.global.storage "gcs"}}
builder-container: {{ .Values.azure.builder_container | b64enc }}
database-container: {{ .Values.azure.database_container | b64enc }}
registry-container: {{ .Values.azure.registry_container | b64enc }}{{ else if eq .Values.global.storage "s3"}}
accesskey: {{ .Values.s3.accesskey | b64enc }}
secretkey: {{ .Values.s3.secretkey | b64enc }}
accesskey: {{ .Values.s3.accesskey | default "" | b64enc | default ("" | quote) }}
secretkey: {{ .Values.s3.secretkey | default "" | b64enc | default ("" | quote) }}
region: {{ .Values.s3.region | b64enc }}
builder-bucket: {{ .Values.s3.builder_bucket | b64enc }}
registry-bucket: {{.Values.s3.registry_bucket | b64enc }}
Expand Down

0 comments on commit 3035c6e

Please sign in to comment.