ceph: fixed DNS suffix breaks in custom DNS suffix clusters

By addding ".svc" to the endpoint of the object store,
will fix the custom DNS suffix cluster.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
This commit is contained in:
subhamkrai committed 2020-09-11 13:29:53 +05:30
1 parent 6998d00740
commit 209dc6251d
5 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -371,7 +371,7 @@ func TestCephObjectStoreController(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, cephv1.ConditionProgressing, objectStore.Status.Phase, objectStore)
assert.NotEmpty(t, objectStore.Status.Info["endpoint"], objectStore)
assert.Equal(t, "http://rook-ceph-rgw-my-store.rook-ceph.svc.cluster.local:80", objectStore.Status.Info["endpoint"], objectStore)
assert.Equal(t, "http://rook-ceph-rgw-my-store.rook-ceph.svc:80", objectStore.Status.Info["endpoint"], objectStore)
logger.Info("PHASE 3 DONE")
// Test the functionality of verifyObjectUserCleanup