chore(argo-cd): add new api version for cert-manager (#1713)

chore: add new api version for cert-manager

Signed-off-by: Nolan Emirot <emirot.nolan@gmail.com>
pull/1710/head argo-cd-5.16.6
Nolan Emirot 2022-12-14 22:03:15 -08:00 committed by GitHub
parent e9495d3c10
commit ed24a95467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@ appVersion: v2.5.4
kubeVersion: ">=1.22.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.16.5
version: 5.16.6
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -23,5 +23,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Docs]: Updated ApplicationSet value documentation"
- "[Docs]: Updated notification value documentation"
- "[chore]: Update new api-version for cert-manager"

View File

@ -55,6 +55,8 @@ Return the appropriate apiVersion for cert-manager
{{- print .Values.apiVersionOverrides.certmanager -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1" -}}
{{- print "cert-manager.io/v1" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1beta1" -}}
{{- print "cert-manager.io/v1beta1" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha3" -}}
{{- print "cert-manager.io/v1alpha3" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" -}}