Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit d05854f

Browse files
kylegatomumoshu
authored andcommitted
Setting mfdir early because it will need to be set regardless (#1446)
1 parent 57fef49 commit d05854f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/controlplane/config/templates/cloud-config-controller

+1-4
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ write_files:
939939
#!/bin/bash -e
940940

941941
vols="-v /srv/kubernetes:/srv/kubernetes"
942-
942+
mfdir=/srv/kubernetes/manifests
943943
kubectl() {
944944
# --request-timeout=1s is intended to instruct kubectl to give up discovering unresponsive apiservice(s) in certain periods
945945
# so that temporal freakiness/unresponsity of specific apiservice until apiserver/controller-manager fully starts doesn't
@@ -981,7 +981,6 @@ write_files:
981981
--from-file=$kiam_tls_dir/agent.pem \
982982
--from-file=$kiam_tls_dir/agent-key.pem --dry-run -o yaml | kubectl apply -n kube-system -f -
983983

984-
mfdir=/srv/kubernetes/manifests
985984
applyall "${mfdir}/kiam-all.yaml"
986985
{{ end }}
987986

@@ -1006,8 +1005,6 @@ write_files:
10061005
done
10071006
echo kube-proxy stared. apiserver should be responsive again.
10081007
fi
1009-
1010-
mfdir=/srv/kubernetes/manifests
10111008
rbac=/srv/kubernetes/rbac
10121009

10131010
{{- if .Kubernetes.Networking.SelfHosting.Enabled }}

0 commit comments

Comments
 (0)