Repository navigation
feat(clustertool): apply bootstrap CRDs before Cilium - #734
Merged
Merged
Conversation
🚀 HelmRelease CI ReportOverall Status
🧪 HelmReleases Testedembed/generic/kubernetes/apps/kube-system/kubelet-csr-approver/app/helm-release.yaml ⏭️ HelmReleases Skippedembed/generic/kubernetes/apps/system/clusterissuer/app/helm-release.yaml Result✅ All HelmRelease tests passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bootstrap currently applies configured CRDs after the fixed base charts.
This change separates bootstrap into two ordered phases:
bootstrap.crd: HelmRelease names whose CRDs are applied before Cilium.bootstrap.steps: chart and manifest entries executed after the fixedbase charts, node readiness, namespace creation and health checks.
The HelmRelease index is built once and reused across both phases.
Empty lists remain supported, chart wait settings are preserved, and
validation errors retain their original YAML line numbers.
The configuration template, CLI help and how-to are updated. Short comments
clarify the bootstrap phases. Ordinary configuration applies do not execute
either bootstrap list.
⚙️ Type of change
🧪 How Has This Been Tested?
Passed locally on Windows:
go test ./pkg/clusterconfig ./pkg/gencmd ./pkg/helmhandler ./pkg/fluxhandler ./pkg/talosconfig ./pkg/initfiles ./cmdTests cover configuration parsing, empty and missing bootstrap configuration,
source line numbers, step order, wait settings and stopping on errors.
The embedded configuration template is loaded with test values.
git diff --checkpassed. A live Talos bootstrap remains to be tested:start a new test cluster and confirm CRD application precedes Cilium,
followed by the configured chart and manifest steps.
📃 Notes:
Existing configurations must move CRD names into
bootstrap.crdandchart/manifest entries into
bootstrap.steps. The previous flat list isno longer accepted. To skip both lists, use:
bootstrap: {crd: [], steps: []}.🤖 This PR is AI generated.
✔️ Checklist:
feat(clustertool):fix(clustertool):chore(clustertool):