diff options
| author | Chris Lu <chris.lu@gmail.com> | 2025-11-27 14:03:30 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2025-11-27 14:03:30 -0800 |
| commit | 3ae05b072a1bc606e31e88e0411c1a5a40116d98 (patch) | |
| tree | 05ad1faa9f36d472273e75a342a492d17d0a12e4 | |
| parent | 0e385122b59a6d5fa030a7998ccb68239dcbb061 (diff) | |
| download | seaweedfs-3ae05b072a1bc606e31e88e0411c1a5a40116d98.tar.xz seaweedfs-3ae05b072a1bc606e31e88e0411c1a5a40116d98.zip | |
use .Values.global.certificates instead
| -rw-r--r-- | k8s/charts/seaweedfs/templates/cert/ca-cert.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml b/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml index 0fd6615e1..7c53be23e 100644 --- a/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml +++ b/k8s/charts/seaweedfs/templates/cert/ca-cert.yaml @@ -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 |
