summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
51b7128)
Change-Id: I70a7c1ee52381f3465266d8b455cd1bc023dbf2e
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
sg ${KUBEGRP} -c "microk8s.status"
exit 1
fi
sg ${KUBEGRP} -c "microk8s.status"
exit 1
fi
- sg ${KUBEGRP} -c "microk8s.status" | grep 'storage: enabled'
- if [ $? -eq 0 ]; then
+ storage_status=`sg ${KUBEGRP} -c "microk8s.status -a storage"`
+ if [[ $storage_status == "enabled" ]]; then