Updating the CRDs for the helm2 install
This commit is contained in:
parent
15315b0dd6
commit
679418d510
4 changed files with 26 additions and 8 deletions
16
charts/argo/templates/cronworkflow-crd.yaml
Normal file
16
charts/argo/templates/cronworkflow-crd.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
{{- if .Values.installCRD }}
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: cronworkflows.argoproj.io
|
||||
spec:
|
||||
group: argoproj.io
|
||||
version: v1alpha1
|
||||
scope: Namespaced
|
||||
names:
|
||||
kind: CronWorkflow
|
||||
plural: cronworkflows
|
||||
shortNames:
|
||||
- cronwf
|
||||
- cwf
|
||||
{{- end }}
|
|
@ -3,10 +3,17 @@ apiVersion: apiextensions.k8s.io/v1beta1
|
|||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: workflows.argoproj.io
|
||||
annotations:
|
||||
helm.sh/hook: crd-install
|
||||
helm.sh/hook-delete-policy: before-hook-creation
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .status.phase
|
||||
description: Status of the workflow
|
||||
name: Status
|
||||
type: string
|
||||
- JSONPath: .status.startedAt
|
||||
description: When the workflow was started
|
||||
name: Age
|
||||
format: date-time
|
||||
type: date
|
||||
group: argoproj.io
|
||||
version: v1alpha1
|
||||
scope: Namespaced
|
||||
|
|
|
@ -3,9 +3,6 @@ apiVersion: apiextensions.k8s.io/v1beta1
|
|||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: workflowtemplates.argoproj.io
|
||||
annotations:
|
||||
helm.sh/hook: crd-install
|
||||
helm.sh/hook-delete-policy: before-hook-creation
|
||||
spec:
|
||||
group: argoproj.io
|
||||
version: v1alpha1
|
||||
|
|
|
@ -6,8 +6,6 @@ images:
|
|||
pullPolicy: Always
|
||||
tag: v2.5.2
|
||||
|
||||
crdVersion: v1alpha1
|
||||
|
||||
# Note: For Helm3 this should be set to False
|
||||
# the crds/ folder contains the necessary crds and will install them
|
||||
installCRD: true
|
||||
|
|
Loading…
Reference in a new issue