From 11594553454868ae5caf1f06074b7ed133ec2b67 Mon Sep 17 00:00:00 2001 From: Santosh Pillai Date: Mon, 1 Mar 2021 23:25:55 +0530 Subject: [PATCH] ceph: update CRDs for healthcheck in crds.yaml Even though CRs for bucket health check was added, CRDs were missing from crds.yaml file. So the health check always enabled for RGW. Signed-off-by: Santosh Pillai Signed-off-by: Jiffin Tony Thottan --- cluster/charts/rook-ceph/templates/resources.yaml | 10 +++++++++- cluster/examples/kubernetes/ceph/crds.yaml | 10 +++++++++- .../examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml | 9 ++++++++- tests/framework/installer/ceph_manifests.go | 10 +++++++++- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/cluster/charts/rook-ceph/templates/resources.yaml b/cluster/charts/rook-ceph/templates/resources.yaml index 081c95b33..ce1e722b1 100644 --- a/cluster/charts/rook-ceph/templates/resources.yaml +++ b/cluster/charts/rook-ceph/templates/resources.yaml @@ -878,10 +878,18 @@ spec: type: object nullable: true properties: - enabled: + disabled: type: boolean interval: type: string + timeout: + type: string + livenessProbe: + type: object + nullable: true + properties: + disabled: + type: boolean status: type: object x-kubernetes-preserve-unknown-fields: true diff --git a/cluster/examples/kubernetes/ceph/crds.yaml b/cluster/examples/kubernetes/ceph/crds.yaml index 867800cd5..533a37722 100644 --- a/cluster/examples/kubernetes/ceph/crds.yaml +++ b/cluster/examples/kubernetes/ceph/crds.yaml @@ -924,10 +924,18 @@ spec: type: object nullable: true properties: - enabled: + disabled: type: boolean interval: type: string + timeout: + type: string + livenessProbe: + type: object + nullable: true + properties: + disabled: + type: boolean status: type: object x-kubernetes-preserve-unknown-fields: true diff --git a/cluster/examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml b/cluster/examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml index 60b0899dc..d3146c6f2 100644 --- a/cluster/examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml +++ b/cluster/examples/kubernetes/ceph/pre-k8s-1.16/crds.yaml @@ -536,10 +536,17 @@ spec: properties: bucket: properties: - enabled: + disabled: type: boolean interval: type: string + timeout: + type: string + livenessProbe: + type: object + properties: + disabled: + type: boolean subresources: status: {} diff --git a/tests/framework/installer/ceph_manifests.go b/tests/framework/installer/ceph_manifests.go index 1db96abc3..1cff7a81a 100644 --- a/tests/framework/installer/ceph_manifests.go +++ b/tests/framework/installer/ceph_manifests.go @@ -1938,10 +1938,18 @@ spec: properties: bucket: properties: - enabled: + disabled: type: boolean interval: type: string + timeout: + type: string + livenessProbe: + type: object + nullable: true + properties: + disabled: + type: boolean subresources: subresources: status: {}