Change-Id: I436761c4e14da72af87bd102d3146944c63b9f96
Signed-off-by: Cian Johnston <cian.johnston@est.tech>
rook_filesystem_name: "{{ lookup('env', 'ROOK_FILESYSTEM_NAME') | default('rookfs', true) }}"
rook_filesystem_storageclass_name: "{{ lookup('env', 'ROOK_FILESYSTEM_STORAGECLASS_NAME') | default('csi-cephfs', true) }}"
+rook_ceph_dashboard_enabled: "{{ lookup('env', 'ROOK_CEPH_DASHBOARD_ENABLED') | default(false, true) }}"
+
# vim: set ts=2 sw=2 expandtab:
k8s:
state: present
definition: "{{ lookup('template', 'external-dashboard-https.yaml.j2') }}"
+ when: rook_ceph_dashboard_enabled|bool
# vim: set ts=2 sw=2 expandtab:
# enabled: true
# enable the ceph dashboard for viewing cluster status
dashboard:
- enabled: true
+ enabled: {{ rook_ceph_dashboard_enabled }}
# serve the dashboard under a subpath (useful when you are accessing the dashboard via a reverse proxy)
# urlPrefix: /ceph-dashboard
# serve the dashboard at the given port.