apiVersion: v1
kind: Service
metadata:
  name: rook-ceph-mgr-dashboard-external-https
  namespace: {{taskserv.namespace  | default (value="rook-ceph")}} # namespace:cluster
  labels:
    app: rook-ceph-mgr
    rook_cluster: {{taskserv.clustertname | default(value="rook-ceph")}}  # namespace:cluster
spec:
  ports:
    - name: dashboard
      port: 8443
      protocol: TCP
      targetPort: 8443
  selector:
    app: rook-ceph-mgr
    mgr_role: active
    rook_cluster: {{taskserv.clustertname | default(value="rook-ceph")}}  # namespace:cluster
  sessionAffinity: None
  type: NodePort
