You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hosting/k8s/helm/templates/validate-external-config.yaml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ This template will fail the Helm deployment if external config is missing for re
28
28
{{- if not .Values.s3.external.endpoint }}
29
29
{{- fail "S3 external configuration is required when s3.deploy=false. Please provide s3.external.endpoint" }}
30
30
{{- end }}
31
-
{{- if and (not .Values.s3.external.existingSecret) (not .Values.s3.external.accessKeyId) }}
32
-
{{- fail "S3 credentials are required when s3.deploy=false. Please provide either s3.external.accessKeyId or s3.external.existingSecret" }}
31
+
{{- if and (not .Values.s3.external.existingSecret) (or (not .Values.s3.external.accessKeyId) (not .Values.s3.external.secretAccessKey)) }}
32
+
{{- fail "S3 credentials are required when s3.deploy=false. Please provide either s3.external.existingSecret or both s3.external.accessKeyId and s3.external.secretAccessKey" }}
0 commit comments