summaryrefslogtreecommitdiffstats
path: root/roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-06-09 17:36:48 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-06-13 13:10:23 -0500
commit97e1bc9436a757b2ffd802de531073f4b1b95c48 (patch)
tree731c6f8e2770348b2d472d60c197778ee5637eec /roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml
parentddc472dbb4a54e15f07f6d947bda943a9a919da6 (diff)
downloadopenshift-97e1bc9436a757b2ffd802de531073f4b1b95c48.tar.gz
openshift-97e1bc9436a757b2ffd802de531073f4b1b95c48.tar.bz2
openshift-97e1bc9436a757b2ffd802de531073f4b1b95c48.tar.xz
openshift-97e1bc9436a757b2ffd802de531073f4b1b95c48.zip
GlusterFS: Remove requirement for heketi-cli
Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml')
-rw-r--r--roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml b/roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml
index c67e05254..81b4fa5dc 100644
--- a/roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml
+++ b/roles/openshift_storage_glusterfs/files/v3.6/deploy-heketi-template.yml
@@ -85,6 +85,8 @@ objects:
volumeMounts:
- name: db
mountPath: /var/lib/heketi
+ - name: topology
+ mountPath: ${TOPOLOGY_PATH}
readinessProbe:
timeoutSeconds: 3
initialDelaySeconds: 3
@@ -99,6 +101,9 @@ objects:
port: 8080
volumes:
- name: db
+ - name: topology
+ secret:
+ secretName: heketi-${CLUSTER_NAME}-topology-secret
parameters:
- name: HEKETI_USER_KEY
displayName: Heketi User Secret
@@ -119,3 +124,6 @@ parameters:
- name: CLUSTER_NAME
displayName: GlusterFS cluster name
value: glusterfs
+- name: TOPOLOGY_PATH
+ displayName: heketi topology file location
+ required: True