{{- if .Values.installCRD }} # Define a "sensor" custom resource definition apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: name: sensors.argoproj.io annotations: helm.sh/hook: crd-install helm.sh/hook-delete-policy: before-hook-creation spec: group: argoproj.io names: kind: Sensor listKind: SensorList plural: sensors singular: sensor shortNames: - sn scope: Namespaced version: v1alpha1 {{- end }}