We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6e9ab9e + b67b9b4 commit 8eaee17Copy full SHA for 8eaee17
1 file changed
08-wait-cluster.sh
@@ -17,7 +17,10 @@ kubectl wait --timeout=14m --for=condition=certificatesavailable -n "$CS_NAMESPA
17
kubectl get -n "$CS_NAMESPACE" cluster $CL_NAME
18
clusterctl describe cluster -n "$CS_NAMESPACE" $CL_NAME --grouping=false
19
KCFG=~/.kube/$CS_NAMESPACE.$CL_NAME
20
+OLDUMASK=$(umask)
21
+umask 0077
22
clusterctl get kubeconfig -n "$CS_NAMESPACE" $CL_NAME > $KCFG
23
+umask $OLDUMASK
24
KUBECONFIG=$KCFG kubectl get nodes -o wide
25
KUBECONFIG=$KCFG kubectl get pods -A
26
echo "# Hint: Use KUBECONFIG=$KCFG kubectl ... to access you workload cluster $CS_NAMESPACE/$CL_NAME"
0 commit comments