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.
1 parent ec10153 commit 20a314eCopy full SHA for 20a314e
deploy/helm/kubernetes/scripts/configure-cluster.sh
@@ -31,7 +31,11 @@ kubeadm init phase upload-config kubelet --config /config/kubeadmcfg.yaml -v1 2>
31
32
# setup bootstrap-tokens
33
# TODO: https://github.com/kvaps/kubernetes-in-kubernetes/issues/7
34
-kubeadm init phase bootstrap-token --config /config/kubeadmcfg.yaml --skip-token-print
+# TODO: https://github.com/kubernetes/kubernetes/issues/98881
35
+flatconfig=$(mktemp)
36
+kubectl config view --flatten > "$flatconfig"
37
+kubeadm init phase bootstrap-token --config /config/kubeadmcfg.yaml --skip-token-print --kubeconfig="$flatconfig"
38
+rm -f "$flatconfig"
39
40
# correct apiserver address for the external clients
41
kubectl apply -n kube-public -f - <<EOT
0 commit comments