Files
rustfs/helm/rustfs/templates/secret-tls.yaml
T
2026-02-24 20:34:08 +08:00

14 lines
478 B
YAML

{{- if and .Values.ingress.tls.enabled (not .Values.ingress.tls.certManager.enabled) (not .Values.ingress.tls.existingSecret.enabled) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "rustfs.fullname" . }}-tls
namespace: {{ .Release.Namespace }}
labels:
{{- toYaml .Values.commonLabels | nindent 4 }}
type: kubernetes.io/tls
data:
tls.crt: {{ .Values.ingress.tls.crt | b64enc | quote }}
tls.key: {{ .Values.ingress.tls.key | b64enc | quote }}
{{- end }}