Skip to content
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

Merged

Conversation

Azhovan
Copy link
Contributor

@Azhovan Azhovan commented Sep 27, 2023

This PR introduces a page that provides guidance specific to Gitea.

Related to: fluxcd/flux2#4270 bootstrap gitea command

@Azhovan Azhovan changed the title feat: Add Flux bootstrap for Gitea page feat: Add Flux bootstrap for Gitea Sep 27, 2023
@Azhovan Azhovan force-pushed the jabar/add-bootstrap-for-gitea-page branch from 47c47f4 to 8bd075a Compare September 27, 2023 13:26
@Azhovan Azhovan marked this pull request as ready for review September 27, 2023 13:26
Signed-off-by: Jabar Asadi <jasadi@d2iq.com>
@Azhovan Azhovan force-pushed the jabar/add-bootstrap-for-gitea-page branch from 8bd075a to 01e99b5 Compare September 27, 2023 13:38
@Azhovan
Copy link
Contributor Author

Azhovan commented Oct 26, 2023

Ping @makkes

@makkes
Copy link
Member

makkes commented Nov 1, 2023

This will need to be hold until the next Flux minor release is out.

@makkes makkes added the hold Issues and pull requests put on hold label Nov 14, 2023

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.
Copy link
Member

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.

Comment on lines +43 to +44
If you want to use an existing repository, the PAT's user must have `admin`
[permissions](https://docs.gitea.com/development/oauth2-provider#scopes).
Copy link
Member

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stefanprodan stefanprodan removed the hold Issues and pull requests put on hold label Dec 12, 2023
@stefanprodan stefanprodan merged commit 609266b into fluxcd:main Dec 12, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants