14 lines
633 B
Plaintext
14 lines
633 B
Plaintext
Snapshot controller and webhook are deployed in the cluster in {{ .Release.Namespace }} namespace.
|
|
|
|
Version {{ include "nutanix-csi-snapshot.release" . }} was deployed
|
|
|
|
{{- $secret := lookup "v1" "Secret" .Release.Namespace .Values.tls.secretName }}
|
|
{{- if (eq .Values.tls.source "generate") }}
|
|
{{- if and $secret ( not .Values.tls.renew) }}
|
|
Reuse existing generated self-signed certificate for webhook
|
|
{{- else }}
|
|
Generate a new self-signed certificate for webhook
|
|
{{- end }}
|
|
{{- else if (eq .Values.tls.source "secret") }}
|
|
Use certificate inside the existing {{ .Values.tls.secretName }} secret not managed by Helm
|
|
{{- end }} |