How is everyone bootstrapping with GitHub? #4163
Replies: 1 comment
-
It's surprising that nobody answered this after 8 months, since it happens kinda 'by default'. Q. Why is FluxCD trying to create a key? What sort of key is it? Q. What permission should I give to the fine-grained access token so that it can generate the key? Q. OK, I'm cool with using a deploy key.. but if FluxCD creates a read-only key, how can it ever update the git project again? Q. What if I don't want it to create a deploy key? What if I just want it to your my fine-grained access token? Ultimately the security choices are:
|
Beta Was this translation helpful? Give feedback.
-
I am trying to make a GitHub Actions Workflow that will run
flux bootstrap github
, but am not having much luck. GitHub Workflows have a predefined environment variableGITHUB_TOKEN
. This is fine, but flux is also looking for an environment variable named that. The problem is that the token that is generated for the workflow does not have the right permissions and this environment variable's value can not be overwritten to that of a PAT. Right now I am seeing this error:Is there something I am missing? Or is everyone bootstrapping their clusters a different way?
Beta Was this translation helpful? Give feedback.
All reactions