use .Values.global.certificates instead
This commit is contained in:
@@ -13,6 +13,12 @@ spec:
|
||||
secretName: {{ template "seaweedfs.name" . }}-ca-cert
|
||||
commonName: "{{ template "seaweedfs.name" . }}-root-ca"
|
||||
isCA: true
|
||||
{{- if .Values.global.certificates.duration }}
|
||||
duration: {{ .Values.global.certificates.duration }}
|
||||
{{- end }}
|
||||
{{- if .Values.global.certificates.renewBefore }}
|
||||
renewBefore: {{ .Values.global.certificates.renewBefore }}
|
||||
{{- end }}
|
||||
issuerRef:
|
||||
name: {{ template "seaweedfs.name" . }}-issuer
|
||||
kind: Issuer
|
||||
|
||||
Reference in New Issue
Block a user