Skip to content

Commit 140fefc

Browse files
authored
Chart shared: Fix default key for S3 certificate validation (#3654)
* Chart shared: Fix default key for S3 certificate validation
1 parent b334bf8 commit 140fefc

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

charts/nucliadb_shared/templates/nucliadb.cm.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ data:
3030
{{- with .Values.storage.s3_endpoint }}
3131
S3_ENDPOINT: {{ . }}
3232
{{- end }}
33-
{{- if .Values.storage.s3_ssl }}
34-
S3_SSL: "True"
35-
{{- end }}
33+
S3_SSL: {{ .Values.storage.s3_ssl | quote }}
3634
S3_VERIFY_SSL: {{ .Values.storage.s3_verify_ssl | quote }}
37-
S3_VERIFY_SSL_CERTIFICATE: {{ .Values.storage.s3_verify_ssl_certificate | quote }}
35+
{{- with .Values.storage.s3_verify_ssl_certificate }}
36+
S3_VERIFY_SSL_CERTIFICATE: {{ . | quote }}
37+
{{- end }}
3838
S3_MAX_POOL_CONNECTIONS: {{ .Values.storage.s3_max_pool_connections | quote }}
3939
S3_REGION_NAME: {{ .Values.storage.s3_region_name }}
4040
S3_BUCKET: {{ .Values.storage.s3_bucket }}

charts/nucliadb_shared/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ storage:
3838
s3_client_secret: XX
3939
s3_ssl: True
4040
s3_verify_ssl: True
41+
s3_verify_ssl_certificate: null
4142
s3_max_pool_connections: 30
4243
s3_region_name: XX
4344
s3_bucket: nucliadb-{kbid}

0 commit comments

Comments
 (0)