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

Commit 2de153d

Browse files
committed
Fix controller kubelet.service not to fail on the first run
1 parent 4e3acf4 commit 2de153d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,9 @@ coreos:
273273
After=cfn-etcd-environment.service
274274
{{ if not .Kubernetes.Networking.SelfHosting.Enabled -}}
275275
Wants=flanneld.service
276-
{{ else -}}
276+
{{ end -}}
277277
Wants=decrypt-assets.service
278278
After=decrypt-assets.service
279-
{{- end }}
280279

281280
[Service]
282281
# EnvironmentFile=/etc/environment allows the reading of COREOS_PRIVATE_IPV4

0 commit comments

Comments
 (0)