Fix helm linting and unset defaults
Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>
This commit is contained in:
parent
b82366131d
commit
729d98a2b9
2 changed files with 8 additions and 8 deletions
|
@ -69,14 +69,14 @@ data:
|
|||
s3:
|
||||
{{- if .Values.useStaticCredentials }}
|
||||
accessKeySecret:
|
||||
key: {{ tpl .Values.artifactRepository.s3.accessKeySecret.key $ }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.accessKeySecret.name $ }}
|
||||
key: {{ tpl .Values.artifactRepository.s3.accessKeySecret.key . }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.accessKeySecret.name . }}
|
||||
secretKeySecret:
|
||||
key: {{ tpl .Values.artifactRepository.s3.secretKeySecret.key $ }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.secretKeySecret.name $ }}
|
||||
key: {{ tpl .Values.artifactRepository.s3.secretKeySecret.key . }}
|
||||
name: {{ tpl .Values.artifactRepository.s3.secretKeySecret.name . }}
|
||||
{{- end }}
|
||||
bucket: {{ tpl .Values.artifactRepository.s3.bucket $ }}
|
||||
endpoint: {{ tpl .Values.artifactRepository.s3.endpoint $ }}
|
||||
bucket: {{ tpl (.Values.artifactRepository.s3.bucket | default "") . }}
|
||||
endpoint: {{ tpl (.Values.artifactRepository.s3.endpoint | default "") . }}
|
||||
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
||||
{{- if .Values.artifactRepository.s3.keyFormat }}
|
||||
keyFormat: {{ .Values.artifactRepository.s3.keyFormat | quote }}
|
||||
|
|
|
@ -650,10 +650,10 @@ artifactRepository:
|
|||
# Note the `key` attribute is not the actual secret, it's the PATH to
|
||||
# the contents in the associated secret, as defined by the `name` attribute.
|
||||
accessKeySecret:
|
||||
# name: <releaseName>-minio
|
||||
name: "{{ .Release.Name }}-minio"
|
||||
key: accesskey
|
||||
secretKeySecret:
|
||||
# name: <releaseName>-minio
|
||||
name: "{{ .Release.Name }}-minio"
|
||||
key: secretkey
|
||||
# insecure will disable TLS. Primarily used for minio installs not configured with TLS
|
||||
insecure: false
|
||||
|
|
Loading…
Reference in a new issue