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:
|
s3:
|
||||||
{{- if .Values.useStaticCredentials }}
|
{{- if .Values.useStaticCredentials }}
|
||||||
accessKeySecret:
|
accessKeySecret:
|
||||||
key: {{ tpl .Values.artifactRepository.s3.accessKeySecret.key $ }}
|
key: {{ tpl .Values.artifactRepository.s3.accessKeySecret.key . }}
|
||||||
name: {{ tpl .Values.artifactRepository.s3.accessKeySecret.name $ }}
|
name: {{ tpl .Values.artifactRepository.s3.accessKeySecret.name . }}
|
||||||
secretKeySecret:
|
secretKeySecret:
|
||||||
key: {{ tpl .Values.artifactRepository.s3.secretKeySecret.key $ }}
|
key: {{ tpl .Values.artifactRepository.s3.secretKeySecret.key . }}
|
||||||
name: {{ tpl .Values.artifactRepository.s3.secretKeySecret.name $ }}
|
name: {{ tpl .Values.artifactRepository.s3.secretKeySecret.name . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
bucket: {{ tpl .Values.artifactRepository.s3.bucket $ }}
|
bucket: {{ tpl (.Values.artifactRepository.s3.bucket | default "") . }}
|
||||||
endpoint: {{ tpl .Values.artifactRepository.s3.endpoint $ }}
|
endpoint: {{ tpl (.Values.artifactRepository.s3.endpoint | default "") . }}
|
||||||
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
insecure: {{ .Values.artifactRepository.s3.insecure }}
|
||||||
{{- if .Values.artifactRepository.s3.keyFormat }}
|
{{- if .Values.artifactRepository.s3.keyFormat }}
|
||||||
keyFormat: {{ .Values.artifactRepository.s3.keyFormat | quote }}
|
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
|
# 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.
|
# the contents in the associated secret, as defined by the `name` attribute.
|
||||||
accessKeySecret:
|
accessKeySecret:
|
||||||
# name: <releaseName>-minio
|
name: "{{ .Release.Name }}-minio"
|
||||||
key: accesskey
|
key: accesskey
|
||||||
secretKeySecret:
|
secretKeySecret:
|
||||||
# name: <releaseName>-minio
|
name: "{{ .Release.Name }}-minio"
|
||||||
key: secretkey
|
key: secretkey
|
||||||
# insecure will disable TLS. Primarily used for minio installs not configured with TLS
|
# insecure will disable TLS. Primarily used for minio installs not configured with TLS
|
||||||
insecure: false
|
insecure: false
|
||||||
|
|
Loading…
Reference in a new issue