This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.14
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.14 by this push:
     new f893c5c  cks: fix token TTL, set it to never expire (#4747)
f893c5c is described below

commit f893c5c0e3864c6d04e8255fd819304b7c66aa8a
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Mar 4 15:00:41 2021 +0530

    cks: fix token TTL, set it to never expire (#4747)
    
    Signed-off-by: Abhishek Kumar <[email protected]>
---
 .../kubernetes-service/src/main/resources/conf/k8s-master.yml           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-master.yml
 
b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-master.yml
index 1482857..db7d753 100644
--- 
a/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-master.yml
+++ 
b/plugins/integrations/kubernetes-service/src/main/resources/conf/k8s-master.yml
@@ -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

Reply via email to