-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Flux bootstrap for Gitea #1676
feat: Add Flux bootstrap for Gitea #1676
Conversation
47c47f4
to
8bd075a
Compare
Signed-off-by: Jabar Asadi <[email protected]>
8bd075a
to
01e99b5
Compare
Ping @makkes |
This will need to be hold until the next Flux minor release is out. |
|
||
If you want to bootstrap Flux for a repository owned by a personal account, you can generate a | ||
[Gitea PAT](https://gitea.com/user/settings/applications) | ||
that can create repositories by checking all permissions under `Select permissions` drop down menu. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why all permissions? And what does one select there? Each permission has a dropdown with 3 different choices. Please add the specific minimum(!) permissions necessary.
If you want to use an existing repository, the PAT's user must have `admin` | ||
[permissions](https://docs.gitea.com/development/oauth2-provider#scopes). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide more details on how to create the token with this permission. I don't see anything like "admin" in the UI for creating a token.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look like it's called all
not admin, https://github.com/fluxcd/go-git-providers/blob/1f17f86ce0f5e1899185b59d5d0347c208ba80ec/tests/gitea/await-healthy.sh#L15C3-L15C3
This PR introduces a page that provides guidance specific to Gitea.
Related to: fluxcd/flux2#4270 bootstrap gitea command