diff options
author | 2017-10-31 10:53:52 -0500 | |
---|---|---|
committer | 2017-10-31 22:07:28 -0500 | |
commit | 7f23c5d78d7fac02849438d5d45f43e0f42217c4 (patch) | |
tree | de84bd2ec5f851c46543f8243abbb8e04fb910f5 /ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml | |
parent | 3fc00ffcdfe163ab1a8994cde14e4811fe7eb55e (diff) |
adding ceph support for Kubernetes.
Change-Id: If7cf0add214da153daf39967fac15ba027cc3885
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml b/ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml index 17dbd7da..01afb34d 100644 --- a/ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml +++ b/ci/config_tpl/juju2/bundlek8_tpl/spaces.yaml @@ -1,5 +1,24 @@ - - # OAM - Operations, Administration and Maintenance oam-space: &oam-space internal-api + # CEPH configuration + # CEPH access network +{% if opnfv.spaces_dict.storageaccess is defined %} + ceph-public-space: &ceph-public-space storage-access-space + ceph-access-constr: &ceph-access-constr spaces=storage-access-space +{% else %} + ceph-public-space: &ceph-public-space internal-api + ceph-access-constr: &ceph-access-constr spaces=internal-api +{% endif %} + + # CEPH replication network +{% if opnfv.spaces_dict.storage is defined %} + ceph-cluster-space: &ceph-cluster-space storage-cluster +{% else %} + ceph-cluster-space: &ceph-cluster-space internal-api +{% endif %} + + # CEPH OSD and journal devices; temporary workaround for #1674148 + osd-devices: &osd-devices {{ opnfv.storage_dict.ceph.disk }} + osd-journal: &osd-journal + |