File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,6 @@ spec:
348348 - op : add
349349 path : /spec/template/spec/kubeadmConfigSpec/postKubeadmCommands/-
350350 value : |
351- set -x
352351 if [ -f /run/kubeadm/kubeadm.yaml ]; then
353352 kubectl --kubeconfig=/etc/kubernetes/admin.conf apply -f /run/kubeadm/kube-flannel.yaml
354353 fi
@@ -760,13 +759,14 @@ spec:
760759 patches :
761760 directory : /etc/kubernetes/patches
762761 preKubeadmCommands :
763- - set -x
762+ - set -ex
764763 # Workaround for kube-proxy failing to configure nf_conntrack_max_per_core on LXC
765764 - |
766765 if systemd-detect-virt -c -q 2>/dev/null && [ -f /run/kubeadm/kubeadm.yaml ]; then
767766 cat /run/kubeadm/hack-kube-proxy-config-lxc.yaml | tee -a /run/kubeadm/kubeadm.yaml
768767 fi
769- postKubeadmCommands : []
768+ postKubeadmCommands :
769+ - set -x
770770 files :
771771 - path : /etc/kubernetes/patches/.placeholder
772772 content : placeholder file to prevent kubeadm path not found errors
You can’t perform that action at this time.
0 commit comments