From beff403c897ff3fbf9f69feceee07f7356d3ac4e Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Thu, 28 Jan 2021 21:44:10 +0530 Subject: [PATCH] ceph: create a route for ceph-rgw this commit ceph: create a route as a part of example in `object-openshift.yaml`. Route is a feature of OpenShift so, changes are only for object-openshift.yaml. Signed-off-by: subhamkrai --- .../examples/kubernetes/ceph/object-openshift.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cluster/examples/kubernetes/ceph/object-openshift.yaml b/cluster/examples/kubernetes/ceph/object-openshift.yaml index 1a0afcd7e..f78360fbf 100644 --- a/cluster/examples/kubernetes/ceph/object-openshift.yaml +++ b/cluster/examples/kubernetes/ceph/object-openshift.yaml @@ -95,3 +95,14 @@ spec: # Configure the pod liveness probe for the rgw daemon livenessProbe: disabled: false + +--- +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + name: rook-ceph-rgw-my-store # We recommend name to be the same as the service name below, but it is not required + namespace: rook-ceph # namespace:cluster +spec: + to: + kind: Service + name: rook-ceph-rgw-my-store # The name of the RGW service is in the form 'rook-ceph-rgw-'