fix(argo-workflows): fix clusterworkflowtemplates disabled flag (#2033)

* fix clusterworkflowtemplates disabled flag

Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>

* Bump chart version and add artifacthub changes

Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>

---------

Signed-off-by: Peejai <pieterjan.soetaert@robovision.eu>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
This commit is contained in:
PidgeyBE 2023-05-10 12:16:14 +02:00 committed by GitHub
parent c8b47cf060
commit cc64b0c9f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,7 @@ appVersion: v3.4.7
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.26.3
version: 0.26.4
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -14,4 +14,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: fixed
description: Fix Helm chart to correctly reference Kubernetes version in conditional check for HPA apiVersion
description: Create clusterWorkflowTemplates CRD only when enabled in Helm values.

View file

@ -1,4 +1,5 @@
{{- if .Values.crds.install }}
{{- if or (.Values.server.clusterWorkflowTemplates.enabled) (.Values.controller.clusterWorkflowTemplates.enabled) }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
@ -43,3 +44,4 @@ spec:
served: true
storage: true
{{- end }}
{{- end }}