|
|
@ -13,6 +13,12 @@ spec: |
|
|
secretName: {{ template "seaweedfs.name" . }}-ca-cert |
|
|
secretName: {{ template "seaweedfs.name" . }}-ca-cert |
|
|
commonName: "{{ template "seaweedfs.name" . }}-root-ca" |
|
|
commonName: "{{ template "seaweedfs.name" . }}-root-ca" |
|
|
isCA: true |
|
|
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: |
|
|
issuerRef: |
|
|
name: {{ template "seaweedfs.name" . }}-issuer |
|
|
name: {{ template "seaweedfs.name" . }}-issuer |
|
|
kind: Issuer |
|
|
kind: Issuer |
|
|
|