namespace: adding namespace to all rook-ceph namespaces references
To make it easier for the user to switch to a namespace other than the default 'rook-ceph', the tag '# namespace:cluster' must be inserted in all the places where this namespace is used. This way, a simple 'sed' command can update all the Yaml files to the new namespace. Signed-off-by: Redouane Kachach <rkachach@redhat.com>
This commit is contained in:
11 files changed
+11
-11
No files matched your search
@@ -160,7 +160,7 @@ apiVersion: ceph.rook.io/v1
|
||||
kind: CephCluster
|
||||
metadata:
|
||||
name: rook-ceph
|
||||
namespace: rook-ceph
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
|
||||
@@ -15,6 +15,6 @@ spec:
|
||||
selector:
|
||||
app: rook-ceph-mgr
|
||||
mgr_role: active
|
||||
rook_cluster: rook-ceph
|
||||
rook_cluster: rook-ceph # namespace:cluster
|
||||
sessionAffinity: None
|
||||
type: NodePort
|
||||
@@ -15,6 +15,6 @@ spec:
|
||||
selector:
|
||||
app: rook-ceph-mgr
|
||||
mgr_role: active
|
||||
rook_cluster: rook-ceph
|
||||
rook_cluster: rook-ceph # namespace:cluster
|
||||
sessionAffinity: None
|
||||
type: NodePort
|
||||
@@ -15,6 +15,6 @@ spec:
|
||||
selector:
|
||||
app: rook-ceph-mgr
|
||||
mgr_role: active
|
||||
rook_cluster: rook-ceph
|
||||
rook_cluster: rook-ceph # namespace:cluster
|
||||
sessionAffinity: None
|
||||
type: LoadBalancer
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rook-ceph-exporter
|
||||
rook_cluster: rook-ceph
|
||||
rook_cluster: rook-ceph # namespace:cluster
|
||||
ceph_daemon_id: exporter
|
||||
endpoints:
|
||||
- port: ceph-exporter-http-metrics
|
||||
|
||||
@@ -12,7 +12,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rook-ceph-mgr
|
||||
rook_cluster: rook-ceph
|
||||
rook_cluster: rook-ceph # namespace:cluster
|
||||
endpoints:
|
||||
- port: http-metrics
|
||||
path: /metrics
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: rook-ceph-nfs-my-nfs-load-balancer
|
||||
namespace: rook-ceph
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
ports:
|
||||
- name: nfs
|
||||
|
||||
@@ -8,7 +8,7 @@ apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: rook-ceph-osd-env-override
|
||||
namespace: rook-ceph
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
data:
|
||||
# Bypass the ASan's assertion that it is the very first loaded DSO.
|
||||
# This is necessary for crimson-osd as it's currently built with
|
||||
|
||||
@@ -7,7 +7,7 @@ apiVersion: ceph.rook.io/v1
|
||||
kind: CephBlockPool
|
||||
metadata:
|
||||
name: mirrored-pool
|
||||
namespace: rook-ceph
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
replicated:
|
||||
size: 3
|
||||
|
||||
@@ -6,7 +6,7 @@ apiVersion: ceph.rook.io/v1
|
||||
kind: CephClient
|
||||
metadata:
|
||||
name: sqlitevfs
|
||||
namespace: rook-ceph
|
||||
namespace: rook-ceph # namespace:cluster
|
||||
spec:
|
||||
caps:
|
||||
mon: 'allow r'
|
||||
|
||||
@@ -9,4 +9,4 @@ spec:
|
||||
schedulingInterval: "12m"
|
||||
schedulingStartTime: "16:18:43"
|
||||
replication.storage.openshift.io/replication-secret-name: rook-csi-rbd-provisioner
|
||||
replication.storage.openshift.io/replication-secret-namespace: rook-ceph
|
||||
replication.storage.openshift.io/replication-secret-namespace: rook-ceph # namespace:operator
|
||||
Reference in new issue
Block a user