summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-10-31 10:53:52 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-10-31 22:07:28 -0500
commit7f23c5d78d7fac02849438d5d45f43e0f42217c4 (patch)
treede84bd2ec5f851c46543f8243abbb8e04fb910f5 /ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
parent3fc00ffcdfe163ab1a8994cde14e4811fe7eb55e (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/relations.yaml')
-rw-r--r--ci/config_tpl/juju2/bundlek8_tpl/relations.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
index 44018201..42c9e136 100644
--- a/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
+++ b/ci/config_tpl/juju2/bundlek8_tpl/relations.yaml
@@ -21,4 +21,7 @@
- [ 'kubernetes-worker:kube-api-endpoint', 'kubeapi-load-balancer:website' ]
- [ 'kubeapi-load-balancer:certificates', 'easyrsa:client' ]
{% endif %}
-
+{% if k8.feature.storage == 'ceph' %}
+ - [ 'ceph-osd:mon', 'ceph-mon:osd' ]
+ - [ 'ceph-mon:admin', 'kubernetes-master:ceph-storage' ]
+{% endif %}