Scope Cilium to K3s interface; fix cert-manager/sops-operator bootstrap race - #250
Open
kid wants to merge 1 commit into
Open
Scope Cilium to K3s interface; fix cert-manager/sops-operator bootstrap race#250kid wants to merge 1 commit into
kid wants to merge 1 commit into
Conversation
letsencrypt-prod's ClusterIssuer failed because its cloudflare-dns-api-token Secret didn't exist yet: cert-manager's bootstrap wave applied the SopsSecret CR and the ClusterIssuer before sops-operator's controller (which reconciles that CR into a Secret) was even running — it wasn't started until ArgoCD's own sync, well after cert-manager's wave completed. Move sops-operator into its own bootstrap wave ahead of cert-manager, and move CoreDNS ahead of both, since sops-operator, cert-manager, and external-dns all depend on cluster DNS to resolve external hosts. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
letsencrypt-prod's ClusterIssuer was applied before sops-operator's controller existed to reconcile itscloudflare-dns-api-tokenSopsSecret CR into a real Secret. Bootstrap now runs CoreDNS, then sops-operator, then cert-manager, in that order — sops-operator's controller is running and watching before cert-manager's wave applies the SopsSecret CR.Test plan
nix flake check --print-build-logspasses (formatting, manifests drift check, flake evaluation)node1reinstall (nixos-anywhere-install) thatletsencrypt-prodreconciles cleanly with no manual intervention🤖 Generated with Claude Code