move the crd definition into it's own tpl file
This commit is contained in:
parent
92599031ec
commit
16595fea26
1 changed files with 19 additions and 0 deletions
19
charts/argo/templates/_workflow-crd.tpl
Normal file
19
charts/argo/templates/_workflow-crd.tpl
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{{- define "workflow-crd-json" }}
|
||||||
|
{
|
||||||
|
"apiVersion": "apiextensions.k8s.io/v1beta1",
|
||||||
|
"kind": "CustomResourceDefinition",
|
||||||
|
"metadata": {
|
||||||
|
"name": "workflows.argoproj.io"
|
||||||
|
},
|
||||||
|
"spec": {
|
||||||
|
"group": "argoproj.io",
|
||||||
|
"names": {
|
||||||
|
"kind": "Workflow",
|
||||||
|
"plural": "workflows",
|
||||||
|
"shortNames": ["wf"]
|
||||||
|
},
|
||||||
|
"scope": "Namespaced",
|
||||||
|
"version": "v1alpha1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
{{- end}}
|
Loading…
Reference in a new issue