use .Values.global.certificates instead
certificates ca
This commit is contained in:
@@ -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.certificates.ca.duration }}
|
||||||
|
duration: {{ .Values.certificates.ca.duration }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.certificates.ca.renewBefore }}
|
||||||
|
renewBefore: {{ .Values.certificates.ca.renewBefore }}
|
||||||
|
{{- end }}
|
||||||
issuerRef:
|
issuerRef:
|
||||||
name: {{ template "seaweedfs.name" . }}-issuer
|
name: {{ template "seaweedfs.name" . }}-issuer
|
||||||
kind: Issuer
|
kind: Issuer
|
||||||
|
|||||||
@@ -1268,6 +1268,9 @@ certificates:
|
|||||||
keySize: 2048
|
keySize: 2048
|
||||||
duration: 2160h # 90d
|
duration: 2160h # 90d
|
||||||
renewBefore: 360h # 15d
|
renewBefore: 360h # 15d
|
||||||
|
ca:
|
||||||
|
duration: 87600h # 10 years
|
||||||
|
renewBefore: 720h # 30d
|
||||||
externalCertificates:
|
externalCertificates:
|
||||||
# This will avoid the need to use cert-manager and will rely on providing your own external certificates and CA
|
# This will avoid the need to use cert-manager and will rely on providing your own external certificates and CA
|
||||||
# you will need to store your provided certificates in the secret read by the different services:
|
# you will need to store your provided certificates in the secret read by the different services:
|
||||||
|
|||||||
Reference in New Issue
Block a user