Skip to content

Commit

Permalink
Add ceph-dashboard option
Browse files Browse the repository at this point in the history
Closes: canonical#148
Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Nov 10, 2023
1 parent 4224400 commit 1079ad6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/charm_lists
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ ovn-dedicated-chassis
)

declare -a CEPH_CHARMS=(
ceph-dashboard
ceph-fs
ceph-iscsi
ceph-mon
Expand Down
9 changes: 9 additions & 0 deletions openstack/pipeline/02configure
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down
10 changes: 10 additions & 0 deletions overlays/ceph/ceph-dashboard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
debug: &debug True

applications:
ceph-dashboard:
charm: __CHARM_STORE____CHARM_CS_NS____CHARM_CH_PREFIX__ceph-dashboard
options:
debug: *debug
relations:
- [ ceph-dashboard:dashboard, ceph-mon:dashboard ]
- [ ceph-dashboard:certificates, vault:certificates ]

0 comments on commit 1079ad6

Please sign in to comment.