Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Commit 934f71f

Browse files
authored
Merge pull request #82 from MohamedAshiqrh/g
Gluster templates are added without -g
2 parents 0b2be02 + 11ff7fd commit 934f71f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

deploy/gk-deploy

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,12 @@ if [[ ${ABORT} -eq 1 ]]; then
302302
fi
303303

304304
if [[ "${CLI}" == *oc* ]]; then
305-
${CLI} create -f ${TEMPLATES}
305+
${CLI} create -f ${TEMPLATES}/deploy-heketi-template.yaml
306+
${CLI} create -f ${TEMPLATES}/heketi-service-account.yaml
307+
${CLI} create -f ${TEMPLATES}/heketi-template.yaml
308+
if [[ $GLUSTER -eq 1 ]]; then
309+
${CLI} create -f ${TEMPLATES}/glusterfs-template.yaml
310+
fi
306311
${CLI} policy add-role-to-user edit system:serviceaccount:${NAMESPACE}:heketi-service-account
307312
else
308313
${CLI} create -f ${TEMPLATES}/heketi-service-account.yaml

0 commit comments

Comments
 (0)