Merge branch 'master' into fix-admin-password-mtime
This commit is contained in:
commit
c33ea18861
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
{{- if .Values.server.certificate.enabled -}}
|
{{- if .Values.server.certificate.enabled -}}
|
||||||
|
{{- if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" }}
|
||||||
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
|
{{- else }}
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
apiVersion: certmanager.k8s.io/v1alpha1
|
||||||
|
{{- end }}
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.server.fullname" . }}
|
name: {{ template "argo-cd.server.fullname" . }}
|
||||||
|
|
Loading…
Reference in a new issue