authentication required: Repository not found error when bootstraped with github app and flux operator #5331
-
|
Hello, I have followed the instruction in the latest blog Github App bootstrap with flux operator to bootstrap flux with github app authentication and was able to install all the components. However:
I created Github App with repo permissions for all the repositories as: Administrator: Read Only I created kubernetes secret using flux cli as suggested in the blog. This worked with my fleet repo but not with my other git repositories. Here is an example source yaml:
I assumed they will be authenticated with the same secret I created for bootstrapping. Should I include How can I resolve this issue? Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You need to set See the the GitRepository generated by Flux Operator and copy those fields from there, run |
Beta Was this translation helpful? Give feedback.
You need to set
.spec.secretRef.nameto the name of your pullSecret in all GitRepos, also the.spec.providermust be set togithub.See the the GitRepository generated by Flux Operator and copy those fields from there, run
flux export source git flux-system.