diff --git a/deploy/charts/rook-ceph/templates/resources.yaml b/deploy/charts/rook-ceph/templates/resources.yaml index 7980e08c3..1bf8ba504 100644 --- a/deploy/charts/rook-ceph/templates/resources.yaml +++ b/deploy/charts/rook-ceph/templates/resources.yaml @@ -12798,10 +12798,12 @@ spec: insecure: items: type: string + nullable: true type: array secure: items: type: string + nullable: true type: array type: object info: diff --git a/deploy/examples/crds.yaml b/deploy/examples/crds.yaml index a221ecc53..e46687161 100644 --- a/deploy/examples/crds.yaml +++ b/deploy/examples/crds.yaml @@ -12790,10 +12790,12 @@ spec: insecure: items: type: string + nullable: true type: array secure: items: type: string + nullable: true type: array type: object info: diff --git a/pkg/apis/ceph.rook.io/v1/types.go b/pkg/apis/ceph.rook.io/v1/types.go index d324275a4..7f763e4f1 100755 --- a/pkg/apis/ceph.rook.io/v1/types.go +++ b/pkg/apis/ceph.rook.io/v1/types.go @@ -1494,8 +1494,10 @@ type BucketStatus struct { type ObjectEndpoints struct { // +optional + // +nullable Insecure []string `json:"insecure"` // +optional + // +nullable Secure []string `json:"secure"` } diff --git a/tests/framework/utils/k8s_helper.go b/tests/framework/utils/k8s_helper.go index 92801892f..2084e1195 100644 --- a/tests/framework/utils/k8s_helper.go +++ b/tests/framework/utils/k8s_helper.go @@ -258,7 +258,7 @@ func (k8sh *K8sHelper) DeleteResource(args ...string) error { func (k8sh *K8sHelper) WaitForCustomResourceDeletion(namespace, name string, checkerFunc func() error) error { // wait for the operator to finalize and delete the CRD - for i := 0; i < 60; i++ { + for i := 0; i < 90; i++ { err := checkerFunc() if err == nil { logger.Infof("custom resource %q in namespace %q still exists", name, namespace)