add execution right to keepalived check script

This commit is contained in:
RouxAntoine 2022-01-06 22:32:38 +01:00
parent f4b1871f2d
commit c2d64b9fc7
Signed by: antoine
GPG Key ID: 098FB66FC0475E70

View File

@ -47,6 +47,7 @@ config_keepalived() {
KUBE_APISERVER_CHK_FALL=${KUBE_APISERVER_CHK_FALL:-'10'}
KUBE_APISERVER_CHK_RISE=${KUBE_APISERVER_CHK_RISE:-'2'}
CHECK_SCRIPT_PATH=${CHECK_SCRIPT_PATH:-'/usr/lib/keepalived/scripts/chk_kube_apiserver.sh'}
chmod +x $CHECK_SCRIPT_PATH
{
echo 'vrrp_script chk_kube_apiserver {'
echo " script \"$CHECK_SCRIPT_PATH $KUBE_APISERVER_ADDRESS $KUBE_APISERVER_PORT\""