Updating the CRDs for the helm2 install

This commit is contained in:
Andrew Suderman 2020-02-26 13:39:38 -07:00
parent 15315b0dd6
commit 679418d510
No known key found for this signature in database
GPG key ID: 9C9CAE7EC2133DB7
4 changed files with 26 additions and 8 deletions

View 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 }}

View file

@ -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

View file

@ -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

View file

@ -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