From dc42ae088e01c96f23a90b1c6c44226199d5cc0d Mon Sep 17 00:00:00 2001 From: William-Gleich Date: Mon, 12 Oct 2020 10:32:56 -0600 Subject: [PATCH] fix(argo): bump template CRDs and add in worklfow-event-binding-crd --- charts/argo/Chart.yaml | 2 +- .../cluster-workflow-template-crd.yaml | 8 ++++++- charts/argo/templates/cron-workflow-crd.yaml | 8 ++++++- charts/argo/templates/workflow-crd.yaml | 7 ++++++ .../templates/workflow-event-binding-crd.yaml | 24 +++++++++++++++++++ .../argo/templates/workflow-template-crd.yaml | 6 +++++ 6 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 charts/argo/templates/workflow-event-binding-crd.yaml diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 0d42500e..94cad6c1 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v2.11.3 description: A Helm chart for Argo Workflows name: argo -version: 0.13.0 +version: 0.13.1 icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png home: https://github.com/argoproj/argo-helm maintainers: diff --git a/charts/argo/templates/cluster-workflow-template-crd.yaml b/charts/argo/templates/cluster-workflow-template-crd.yaml index c9c1cb52..411f578d 100644 --- a/charts/argo/templates/cluster-workflow-template-crd.yaml +++ b/charts/argo/templates/cluster-workflow-template-crd.yaml @@ -12,8 +12,14 @@ spec: scope: Cluster names: kind: ClusterWorkflowTemplate + listKind: ClusterWorkflowTemplateList plural: clusterworkflowtemplates shortNames: - clusterwftmpl - cwft -{{- end }} + singular: clusterworkflowtemplate + versions: + - name: v1alpha1 + served: true + storage: true + {{- end }} diff --git a/charts/argo/templates/cron-workflow-crd.yaml b/charts/argo/templates/cron-workflow-crd.yaml index 8bf36ab3..5c7c5ec2 100644 --- a/charts/argo/templates/cron-workflow-crd.yaml +++ b/charts/argo/templates/cron-workflow-crd.yaml @@ -10,10 +10,16 @@ spec: group: argoproj.io names: kind: CronWorkflow + listKind: CronWorkflowList plural: cronworkflows shortNames: - - cronwf - cwf + - cronwf + singular: cronworkflow scope: Namespaced version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true {{- end }} \ No newline at end of file diff --git a/charts/argo/templates/workflow-crd.yaml b/charts/argo/templates/workflow-crd.yaml index dca2e1bc..209c6784 100644 --- a/charts/argo/templates/workflow-crd.yaml +++ b/charts/argo/templates/workflow-crd.yaml @@ -20,9 +20,16 @@ spec: group: argoproj.io names: kind: Workflow + listKind: WorkflowList plural: workflows shortNames: - wf + singular: workflow scope: Namespaced + subresources: {} version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true {{- end }} diff --git a/charts/argo/templates/workflow-event-binding-crd.yaml b/charts/argo/templates/workflow-event-binding-crd.yaml new file mode 100644 index 00000000..60a38a09 --- /dev/null +++ b/charts/argo/templates/workflow-event-binding-crd.yaml @@ -0,0 +1,24 @@ +{{- if .Values.installCRD }} +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: workfloweventbindings.argoproj.io + annotations: + helm.sh/hook: crd-install + helm.sh/hook-delete-policy: before-hook-creation +spec: + group: argoproj.io + names: + kind: WorkflowEventBinding + listKind: WorkflowEventBindingList + plural: workfloweventbindings + shortNames: + - wfeb + singular: workfloweventbinding + scope: Namespaced + version: v1alpha1 + versions: + - name: v1alpha1 + served: true + storage: true + {{- end }} diff --git a/charts/argo/templates/workflow-template-crd.yaml b/charts/argo/templates/workflow-template-crd.yaml index 55c940d5..d1d13d20 100644 --- a/charts/argo/templates/workflow-template-crd.yaml +++ b/charts/argo/templates/workflow-template-crd.yaml @@ -12,7 +12,13 @@ spec: scope: Namespaced names: kind: WorkflowTemplate + listKind: WorkflowTemplateList plural: workflowtemplates shortNames: - wftmpl + singular: workflowtemplate + versions: + - name: v1alpha1 + served: true + storage: true {{- end }}