argocd-helm/charts/argo/templates/cron-workflow-crd.yaml
Vlad Losev 391c439de6
fix(argo): Add RBAC permissions for v2.12. (#541)
Signed-off-by: Vlad Losev <vladimir.losev@sage.com>
2021-01-12 10:27:30 -08:00

19 lines
413 B
YAML

{{- if .Values.installCRD }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: cronworkflows.argoproj.io
annotations:
helm.sh/hook: crd-install
helm.sh/hook-delete-policy: before-hook-creation
spec:
group: argoproj.io
names:
kind: CronWorkflow
plural: cronworkflows
shortNames:
- cronwf
- cwf
scope: Namespaced
version: v1alpha1
{{- end }}