From 6be65658dd1eb08bc2cbee99747a90ce792643cc Mon Sep 17 00:00:00 2001 From: Luis Sanchez Date: Thu, 9 Jul 2026 22:51:29 -0400 Subject: [PATCH] bootstrap: Pass rendered manifests and payload version to etcd render Add --rendered-manifest-files and --payload-version flags to the etcd-render invocation in bootkube.sh so the cluster-etcd-operator render command can read the FeatureGate CR from pre-rendered manifests instead of parsing feature gates from the raw install-config. The api-render step already runs before etcd-render and produces the fully-resolved FeatureGate CR in /assets/manifests/, so the manifests are guaranteed to be available. This aligns etcd-render with the pattern used by kube-apiserver-render, kube-controller-manager-render, and config-render, all of which already pass these flags. Requires a coordinated cluster-etcd-operator change to accept the new flags. --- data/data/bootstrap/files/usr/local/bin/bootkube.sh.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template b/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template index 5ef66762520..e2fb80c5c74 100755 --- a/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template +++ b/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template @@ -234,7 +234,9 @@ then --cluster-configmap-file=/assets/manifests/cluster-config.yaml \ --etcd-image="${MACHINE_CONFIG_ETCD_IMAGE}" \ --infra-config-file=/assets/manifests/cluster-infrastructure-02-config.yml \ - --network-config-file=/assets/manifests/cluster-network-02-config.yml + --network-config-file=/assets/manifests/cluster-network-02-config.yml \ + --rendered-manifest-files=/assets/manifests \ + --payload-version=$VERSION # Copy configuration required to start etcd cp --recursive etcd-bootstrap/etc-kubernetes/* /etc/kubernetes/