mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-20 19:42:17 +00:00
3b024a9dc5
Signed-off-by: mkrueger92 <7305571+mkrueger92@users.noreply.github.com> Co-authored-by: houseme <housemecn@gmail.com>
14 lines
478 B
YAML
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 }}
|