diff --git a/deploy/gk-deploy b/deploy/gk-deploy index 50d004e2..c846e855 100755 --- a/deploy/gk-deploy +++ b/deploy/gk-deploy @@ -302,7 +302,12 @@ if [[ ${ABORT} -eq 1 ]]; then fi if [[ "${CLI}" == *oc* ]]; then - ${CLI} create -f ${TEMPLATES} + ${CLI} create -f ${TEMPLATES}/deploy-heketi-template.yaml + ${CLI} create -f ${TEMPLATES}/heketi-service-account.yaml + ${CLI} create -f ${TEMPLATES}/heketi-template.yaml + if [[ $GLUSTER -eq 1 ]]; then + ${CLI} create -f ${TEMPLATES}/glusterfs-template.yaml + fi ${CLI} policy add-role-to-user edit system:serviceaccount:${NAMESPACE}:heketi-service-account else ${CLI} create -f ${TEMPLATES}/heketi-service-account.yaml