Adds support for ClusterWorkflowTemplates (a 2.8 feature). (#345)
parent
8f3bfae1fb
commit
2ad0ce8f3e
|
@ -1,8 +1,8 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
appVersion: "v2.7.6"
|
appVersion: v2.8.0
|
||||||
description: A Helm chart for Argo Workflows
|
description: A Helm chart for Argo Workflows
|
||||||
name: argo
|
name: argo
|
||||||
version: 0.8.6
|
version: 0.9.0
|
||||||
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: clusterworkflowtemplates.argoproj.io
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: crd-install
|
||||||
|
helm.sh/hook-delete-policy: before-hook-creation
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
version: v1alpha1
|
||||||
|
scope: Cluster
|
||||||
|
names:
|
||||||
|
kind: ClusterWorkflowTemplate
|
||||||
|
plural: clusterworkflowtemplates
|
||||||
|
shortNames:
|
||||||
|
- clusterwftmpl
|
||||||
|
- cwft
|
|
@ -0,0 +1,19 @@
|
||||||
|
{{- if .Values.installCRD }}
|
||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: clusterworkflowtemplates.argoproj.io
|
||||||
|
annotations:
|
||||||
|
helm.sh/hook: crd-install
|
||||||
|
helm.sh/hook-delete-policy: before-hook-creation
|
||||||
|
spec:
|
||||||
|
group: argoproj.io
|
||||||
|
version: v1alpha1
|
||||||
|
scope: Cluster
|
||||||
|
names:
|
||||||
|
kind: ClusterWorkflowTemplate
|
||||||
|
plural: clusterworkflowtemplates
|
||||||
|
shortNames:
|
||||||
|
- clusterwftmpl
|
||||||
|
- cwft
|
||||||
|
{{- end }}
|
|
@ -58,6 +58,7 @@ rules:
|
||||||
- workflows
|
- workflows
|
||||||
- workflowtemplates
|
- workflowtemplates
|
||||||
- cronworkflows
|
- cronworkflows
|
||||||
|
- clusterworkflowtemplates
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- get
|
- get
|
||||||
|
|
|
@ -18,6 +18,8 @@ rules:
|
||||||
- workflowtemplates/finalizers
|
- workflowtemplates/finalizers
|
||||||
- cronworkflows
|
- cronworkflows
|
||||||
- cronworkflows/finalizers
|
- cronworkflows/finalizers
|
||||||
|
- clusterworkflowtemplates
|
||||||
|
- clusterworkflowtemplates/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
@ -42,6 +44,8 @@ rules:
|
||||||
- workflowtemplates/finalizers
|
- workflowtemplates/finalizers
|
||||||
- cronworkflows
|
- cronworkflows
|
||||||
- cronworkflows/finalizers
|
- cronworkflows/finalizers
|
||||||
|
- clusterworkflowtemplates
|
||||||
|
- clusterworkflowtemplates/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
@ -71,6 +75,8 @@ rules:
|
||||||
- workflowtemplates/finalizers
|
- workflowtemplates/finalizers
|
||||||
- cronworkflows
|
- cronworkflows
|
||||||
- cronworkflows/finalizers
|
- cronworkflows/finalizers
|
||||||
|
- clusterworkflowtemplates
|
||||||
|
- clusterworkflowtemplates/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
|
|
|
@ -55,6 +55,8 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- workflowtemplates
|
- workflowtemplates
|
||||||
- workflowtemplates/finalizers
|
- workflowtemplates/finalizers
|
||||||
|
- clusterworkflowtemplates
|
||||||
|
- clusterworkflowtemplates/finalizers
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
|
Loading…
Reference in New Issue