forked from rook/rook
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>
21 lines
452 B
YAML
21 lines
452 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rook-ceph-mgr-dashboard-external-https
|
|
namespace: rook-ceph # namespace:cluster
|
|
labels:
|
|
app: rook-ceph-mgr
|
|
rook_cluster: rook-ceph # namespace:cluster
|
|
spec:
|
|
ports:
|
|
- name: dashboard
|
|
port: 8443
|
|
protocol: TCP
|
|
targetPort: 8443
|
|
selector:
|
|
app: rook-ceph-mgr
|
|
mgr_role: active
|
|
rook_cluster: rook-ceph # namespace:cluster
|
|
sessionAffinity: None
|
|
type: NodePort
|