Skip to content

Commit

Permalink
fix S3_CERTIFICATE_SECRET env var value when using s3gw
Browse files Browse the repository at this point in the history
Fixes: epinio/epinio#2466
Signed-off-by: Giuseppe Baccini <giuseppe.baccini@suse.com>
  • Loading branch information
Giuseppe Baccini committed Jul 18, 2023
1 parent 7ea8e3a commit 35ed427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/epinio/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ spec:
value: {{ default "minio-tls" .Values.s3.certificateSecret }}
{{- else if .Values.s3gw.enabled }}
- name: S3_CERTIFICATE_SECRET
value: {{ default "s3gw-cluster-ip-tls" .Values.s3.certificateSecret }}
value: {{ default (printf "%s-%s-cluster-ip-tls" .Release.Name .Release.Namespace) .Values.s3.certificateSecret }}
{{- else if .Values.s3.certificateSecret }}
- name: S3_CERTIFICATE_SECRET
value: {{ .Values.s3.certificateSecret }}
Expand Down

0 comments on commit 35ed427

Please sign in to comment.