diff --git a/deploy/helm/templates/secret.yaml b/deploy/helm/templates/secret.yaml index dd6a748..be7ac7d 100644 --- a/deploy/helm/templates/secret.yaml +++ b/deploy/helm/templates/secret.yaml @@ -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 -}}