
Fixes #1430 #1468 Due to multiple instances where new/changed CRDs for argo-workflows do not get installed/updated I believe it is time to move the crds folder into the templates folder like our other helm charts. I'm aware helm 3 is supposed to handle the crds folder but it seems there are a few known issues currently [here](https://github.com/hashicorp/terraform-provider-helm/issues/944), [here](https://github.com/helm/helm/issues/11321) and [here](https://github.com/helm/helm/pull/11330) that show that may still need some work. Signed-off-by: jmeridth <jmeridth@gmail.com> Signed-off-by: jmeridth <jmeridth@gmail.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
{{- if .Values.crds.install }}
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: workflowtasksets.argoproj.io
|
|
annotations:
|
|
{{- if .Values.crds.keep }}
|
|
"helm.sh/resource-policy": keep
|
|
{{- end }}
|
|
{{- with .Values.crds.annotations }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
group: argoproj.io
|
|
names:
|
|
kind: WorkflowTaskSet
|
|
listKind: WorkflowTaskSetList
|
|
plural: workflowtasksets
|
|
shortNames:
|
|
- wfts
|
|
singular: workflowtaskset
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
properties:
|
|
apiVersion:
|
|
type: string
|
|
kind:
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
type: object
|
|
x-kubernetes-map-type: atomic
|
|
x-kubernetes-preserve-unknown-fields: true
|
|
status:
|
|
type: object
|
|
x-kubernetes-map-type: atomic
|
|
x-kubernetes-preserve-unknown-fields: true
|
|
required:
|
|
- metadata
|
|
- spec
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|
|
{{- end }}
|