Adds support for ClusterWorkflowTemplates (a 2.8 feature). (#345)
This commit is contained in:
parent
8f3bfae1fb
commit
2ad0ce8f3e
6 changed files with 47 additions and 2 deletions
19
charts/argo/templates/cluster-workflow-template-crd.yaml
Normal file
19
charts/argo/templates/cluster-workflow-template-crd.yaml
Normal file
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue