From 8b0b4552d5dfc94a68566bf0e4c746245b658193 Mon Sep 17 00:00:00 2001 From: kostas-theo Date: Thu, 4 Mar 2021 19:37:34 +0100 Subject: [PATCH] making both sets of crds in argo-events consistent with each other Signed-off-by: kostas-theo --- .../argo-events/templates/eventbus-crd.yaml | 21 +++++++++++++++++++ .../templates/eventsource-crd.yaml | 21 +++++++++++++++++++ charts/argo-events/templates/sensor-crd.yaml | 21 +++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/charts/argo-events/templates/eventbus-crd.yaml b/charts/argo-events/templates/eventbus-crd.yaml index 673e796f..4a67294e 100644 --- a/charts/argo-events/templates/eventbus-crd.yaml +++ b/charts/argo-events/templates/eventbus-crd.yaml @@ -20,4 +20,25 @@ spec: - 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: {} {{- end }} diff --git a/charts/argo-events/templates/eventsource-crd.yaml b/charts/argo-events/templates/eventsource-crd.yaml index 920f2478..5c6a0b6b 100644 --- a/charts/argo-events/templates/eventsource-crd.yaml +++ b/charts/argo-events/templates/eventsource-crd.yaml @@ -20,4 +20,25 @@ spec: - 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: {} {{- end }} diff --git a/charts/argo-events/templates/sensor-crd.yaml b/charts/argo-events/templates/sensor-crd.yaml index b9ccc1bd..d121019e 100644 --- a/charts/argo-events/templates/sensor-crd.yaml +++ b/charts/argo-events/templates/sensor-crd.yaml @@ -21,4 +21,25 @@ spec: - 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: {} {{- end }}