From 5b2fe9218108baa6456eb3472196d5eb55b41efd Mon Sep 17 00:00:00 2001 From: Yinan Li Date: Fri, 24 Jul 2020 08:18:28 -0700 Subject: [PATCH] Manually fix the CRD validation issue in k8s 1.18 (#986) --- .../crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml | 4 ++++ manifest/crds/sparkoperator.k8s.io_sparkapplications.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml b/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml index de4aef14d..4df35829a 100644 --- a/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml +++ b/manifest/crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml @@ -775,6 +775,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -1507,6 +1508,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -2522,6 +2524,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -3146,6 +3149,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: diff --git a/manifest/crds/sparkoperator.k8s.io_sparkapplications.yaml b/manifest/crds/sparkoperator.k8s.io_sparkapplications.yaml index e5c8f2d83..922327035 100644 --- a/manifest/crds/sparkoperator.k8s.io_sparkapplications.yaml +++ b/manifest/crds/sparkoperator.k8s.io_sparkapplications.yaml @@ -761,6 +761,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -1493,6 +1494,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -2508,6 +2510,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: @@ -3132,6 +3135,7 @@ spec: type: string required: - containerPort + - protocol type: object type: array x-kubernetes-list-map-keys: