diff --git a/common/charm_lists b/common/charm_lists index 843ccdbf..aa19f83f 100644 --- a/common/charm_lists +++ b/common/charm_lists @@ -49,6 +49,7 @@ ovn-dedicated-chassis ) declare -a CEPH_CHARMS=( +ceph-dashboard ceph-fs ceph-iscsi ceph-mon diff --git a/openstack/pipeline/02configure b/openstack/pipeline/02configure index 49b81771..ad5e60e7 100644 --- a/openstack/pipeline/02configure +++ b/openstack/pipeline/02configure @@ -183,6 +183,15 @@ do MOD_OVERLAYS+=( "ceph/ceph-fs.yaml" ) set -- $@ --ceph-fs && cache $@ ;; + --ceph-dashboard) + MOD_OVERLAYS+=( "ceph/ceph-dashboard.yaml" ) + if ! has_opt --ceph; then + set -- $@ --ceph && cache $@ + fi + if ! has_opt --vault; then + set -- $@ --vault && cache $@ + fi + ;; --designate) assert_min_release ocata "designate" msg="REQUIRED: designate-bind upstream dns server to forward requests to:" diff --git a/overlays/ceph/ceph-dashboard.yaml b/overlays/ceph/ceph-dashboard.yaml new file mode 100644 index 00000000..96a6ec8e --- /dev/null +++ b/overlays/ceph/ceph-dashboard.yaml @@ -0,0 +1,6 @@ +applications: + ceph-dashboard: + charm: __CHARM_STORE____CHARM_CS_NS____CHARM_CH_PREFIX__ceph-dashboard +relations: + - [ ceph-dashboard:dashboard, ceph-mon:dashboard ] + - [ ceph-dashboard:certificates, vault:certificates ]