Weird behaviour when migrating Flux from "master" to "main" branch #5074
Unanswered
oliverfernandez
asked this question in
Q&A
Replies: 1 comment 3 replies
-
From the logs timestamp looks like the last revision comes from |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to switch the branch Flux reconciles from, moving from
master
tomain
The steps I followed are
main
branch in my repo, and set it as defaultbranch
main
branch, I updated mygotk-sync.yaml
to setref: main
forGitRepository
2.
inmaster
as wellOnce I did
3.
, Flux started to reconcile frommain
, and I see resources being created matching my configuration frommain
branch properly.However, my
source-controller
is still checkingmaster
for reconciliation. I see these logs in mysource-controller
PODAnd
Furthermore, I see my Kubernetes deployments still trying to create
replicasets
from a reference frommaster
, together withmain
I probably messed with Flux state with this branch migration, but I'm unable to figure out how to fix it.
Beta Was this translation helpful? Give feedback.
All reactions