argocd-helm/charts/argo-events/templates/sensor-crd.yaml

46 lines
1 KiB
YAML
Raw Normal View History

2019-10-22 14:37:58 -06:00
{{- if .Values.installCRD }}
2019-02-13 17:14:36 -05:00
# Define a "sensor" custom resource definition
apiVersion: apiextensions.k8s.io/v1
2019-02-13 17:14:36 -05:00
kind: CustomResourceDefinition
metadata:
name: sensors.argoproj.io
annotations:
helm.sh/hook: crd-install
helm.sh/hook-delete-policy: before-hook-creation
2019-02-13 17:14:36 -05:00
spec:
group: argoproj.io
names:
kind: Sensor
listKind: SensorList
plural: sensors
singular: sensor
shortNames:
- sn
2019-02-13 17:14:36 -05:00
scope: Namespaced
versions:
- name: v1alpha1
served: true
storage: true
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
x-kubernetes-preserve-unknown-fields: true
status:
type: object
x-kubernetes-preserve-unknown-fields: true
required:
- metadata
- spec
type: object
subresources:
status: {}
2019-10-22 14:37:58 -06:00
{{- end }}