You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
For those who run into the same problems as me here are a few notes.
uuidgen and jq commands are not installed by default, I installed it manually with apt-get install jq uuid-runtime. The jq is noted at the top of the bash script but the uuidgen one is not.
The current ismounted check prevented my pods from terminating because there were multiple entries returned by findmnt, the following worked for me.
ismounted() {
MOUNT=$(findmnt -n ${MNTPATH} 2>/dev/null)
if [ ! -z "$MOUNT" ]; then
echo "1"
else
echo "0"
fi
}
I found only setting "chmod +x" did not allow autodiscovery, I had to set 777 on the whole plugins directory and bash script for it to work.
Private GCR repos do not work because the docker cli is not logged in so if you are going to use private docker images you need to run something like this after adding the FlexVolume driver.
For those who run into the same problems as me here are a few notes.
uuidgen
andjq
commands are not installed by default, I installed it manually withapt-get install jq uuid-runtime
. The jq is noted at the top of the bash script but the uuidgen one is not.The current ismounted check prevented my pods from terminating because there were multiple entries returned by findmnt, the following worked for me.
I found only setting "chmod +x" did not allow autodiscovery, I had to set
777
on the whole plugins directory and bash script for it to work.Private GCR repos do not work because the docker cli is not logged in so if you are going to use private docker images you need to run something like this after adding the FlexVolume driver.
Otherwise its working great so thanks!!!
The text was updated successfully, but these errors were encountered: