mirror of https://github.com/apache/cloudstack.git
cks: fix token TTL, set it to never expire (#4747)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
fa067e02a7
commit
f893c5c0e3
|
|
@ -204,7 +204,7 @@ write-files:
|
|||
fi
|
||||
retval=0
|
||||
set +e
|
||||
kubeadm init --token {{ k8s_master.cluster.token }} {{ k8s_master.cluster.initargs }}
|
||||
kubeadm init --token {{ k8s_master.cluster.token }} --token-ttl 0 {{ k8s_master.cluster.initargs }}
|
||||
retval=$?
|
||||
set -e
|
||||
if [ $retval -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue