From 170b768ad82a101439c1d4b4d3bf1f30b0003edd Mon Sep 17 00:00:00 2001 From: ajrpayne Date: Sun, 14 Mar 2021 10:35:42 -0600 Subject: [PATCH] Add KUBELET_IMAGE to Fedora CoreOS bootstrap.service (#945) * Align with Flatcar Linux `bootstrap.service` --- bare-metal/fedora-coreos/kubernetes/fcc/controller.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bare-metal/fedora-coreos/kubernetes/fcc/controller.yaml b/bare-metal/fedora-coreos/kubernetes/fcc/controller.yaml index c7ca57ce..813428ff 100644 --- a/bare-metal/fedora-coreos/kubernetes/fcc/controller.yaml +++ b/bare-metal/fedora-coreos/kubernetes/fcc/controller.yaml @@ -120,6 +120,7 @@ systemd: Type=oneshot RemainAfterExit=true WorkingDirectory=/opt/bootstrap + Environment=KUBELET_IMAGE=quay.io/poseidon/kubelet:v1.20.4 ExecStartPre=-/usr/bin/podman rm bootstrap ExecStart=/usr/bin/podman run --name bootstrap \ --network host \ @@ -127,7 +128,7 @@ systemd: --volume /opt/bootstrap/assets:/assets:ro,Z \ --volume /opt/bootstrap/apply:/apply:ro,Z \ --entrypoint=/apply \ - quay.io/poseidon/kubelet:v1.20.4 + $${KUBELET_IMAGE} ExecStartPost=/bin/touch /opt/bootstrap/bootstrap.done ExecStartPost=-/usr/bin/podman stop bootstrap storage: