chore: update certificate apiVersion (#300)
This commit is contained in:
parent
d7da8e863f
commit
228c989f9c
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
{{- if .Values.server.certificate.enabled -}}
|
||||
{{- if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" }}
|
||||
{{- if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha3" }}
|
||||
apiVersion: cert-manager.io/v1alpha3
|
||||
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" }}
|
||||
apiVersion: cert-manager.io/v1alpha2
|
||||
{{- else }}
|
||||
apiVersion: certmanager.k8s.io/v1alpha1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue