update tls configuration in helm chart (#900)

* update tls configuration in helm chart

* typo fix
This commit is contained in:
majinghe
2025-11-20 22:20:11 +08:00
committed by GitHub
parent 18cd9a8b46
commit 2b268fdd7f
6 changed files with 51 additions and 26 deletions
+5 -5
View File
@@ -1,10 +1,10 @@
{{- if .Values.ingress.enabled }}
{{- if .Values.tls.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "rustfs.fullname" . }}-tls
type: Opaque
type: kubernetes.io/tls
data:
tls.crt : {{ .Files.Get "tls/tls.crt" | b64enc | quote }}
tls.key : {{ .Files.Get "tls/tls.key" | b64enc | quote }}
{{- end }}
tls.crt : {{ .Values.tls.crt | b64enc | quote }}
tls.key : {{ .Values.tls.key | b64enc | quote }}
{{- end }}