diff --git a/charts/zookeeper-operator/templates/_crd_openapiv3schema.tpl b/charts/zookeeper-operator/templates/_crd_openapiv3schema.tpl index 7eec3232b..e521f3c37 100644 --- a/charts/zookeeper-operator/templates/_crd_openapiv3schema.tpl +++ b/charts/zookeeper-operator/templates/_crd_openapiv3schema.tpl @@ -681,14 +681,13 @@ openAPIV3Schema: type: string required: - containerPort - {{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }} - - protocol - {{- end }} type: object type: array x-kubernetes-list-map-keys: - containerPort + {{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }} - protocol + {{- end }} x-kubernetes-list-type: map readinessProbe: description: 'Periodic probe of container service readiness. @@ -1832,14 +1831,13 @@ openAPIV3Schema: type: string required: - containerPort - {{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }} - - protocol - {{- end }} type: object type: array x-kubernetes-list-map-keys: - containerPort + {{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }} - protocol + {{- end }} x-kubernetes-list-type: map readinessProbe: description: 'Periodic probe of container service readiness. @@ -3551,9 +3549,6 @@ openAPIV3Schema: type: string required: - containerPort - {{- if semverCompare "< 1.18-0" .Capabilities.KubeVersion.GitVersion }} - - protocol - {{- end }} type: object type: array probes: