chore: update certificate apiVersion (#300)
parent
d7da8e863f
commit
228c989f9c
|
@ -2,7 +2,7 @@ apiVersion: v1
|
||||||
appVersion: "1.5.1"
|
appVersion: "1.5.1"
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 2.2.0
|
version: 2.2.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{{- if .Values.server.certificate.enabled -}}
|
{{- 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
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
{{- else }}
|
{{- else }}
|
||||||
apiVersion: certmanager.k8s.io/v1alpha1
|
apiVersion: certmanager.k8s.io/v1alpha1
|
||||||
|
|
Loading…
Reference in New Issue