fix: Make CRDs compatible with OpenShift 3.11 (#961)
Signed-off-by: Anatolii Bazko <abazko@redhat.com>pull/968/head
parent
4104c42b57
commit
82aaa30659
3
Makefile
3
Makefile
|
|
@ -239,6 +239,9 @@ manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and Cust
|
|||
yq -rYi ".spec.subresources.status = {}" "$(ECLIPSE_CHE_RESTORE_CRD_V1BETA1)"
|
||||
|
||||
# remove .spec.validation.openAPIV3Schema.type field
|
||||
yq -rYi "del(.spec.validation.openAPIV3Schema.type)" "$(ECLIPSE_CHE_CRD_V1BETA1)"
|
||||
yq -rYi "del(.spec.validation.openAPIV3Schema.type)" "$(ECLIPSE_CHE_BACKUP_SERVER_CONFIGURATION_CRD_V1BETA1)"
|
||||
yq -rYi "del(.spec.validation.openAPIV3Schema.type)" "$(ECLIPSE_CHE_BACKUP_CRD_V1BETA1)"
|
||||
yq -rYi "del(.spec.validation.openAPIV3Schema.type)" "$(ECLIPSE_CHE_RESTORE_CRD_V1BETA1)"
|
||||
|
||||
# remove "required" attributes from v1beta1 crd files
|
||||
|
|
|
|||
|
|
@ -131,7 +131,6 @@ spec:
|
|||
description: CheBackupServerConfigurationStatus defines the observed state
|
||||
of CheBackupServerConfiguration
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
|
|
|
|||
|
|
@ -71,7 +71,6 @@ spec:
|
|||
description: 'Backup progress state: InProgress, Failed, Succeeded'
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
|
|
|
|||
|
|
@ -1051,7 +1051,6 @@ spec:
|
|||
the Pod is in this state.
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
version: v1
|
||||
versions:
|
||||
- name: v1
|
||||
|
|
|
|||
Loading…
Reference in New Issue