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:
parent
c8b47cf060
commit
cc64b0c9f5
2 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,7 @@ appVersion: v3.4.7
|
||||||
name: argo-workflows
|
name: argo-workflows
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
type: application
|
type: application
|
||||||
version: 0.26.3
|
version: 0.26.4
|
||||||
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
sources:
|
sources:
|
||||||
|
@ -14,4 +14,4 @@ maintainers:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- 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.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{{- if .Values.crds.install }}
|
{{- if .Values.crds.install }}
|
||||||
|
{{- if or (.Values.server.clusterWorkflowTemplates.enabled) (.Values.controller.clusterWorkflowTemplates.enabled) }}
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
|
@ -43,3 +44,4 @@ spec:
|
||||||
served: true
|
served: true
|
||||||
storage: true
|
storage: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue