Add --deploy-token option to Flux bootstrap
Release notes
GitLab recommends the use of deploy tokens to authorize Flux access to GitLab. Until now, Flux bootstrap did not support deploy tokens, thus setting up a Flux connection following the recommendation required some manual tasks. We extended the Flux CLI with a --deploy-token
flag that will set up a deploy token with repository access.
Problem to solve
As an Infrastructure Engineer, I would like to use Deploy Tokens to set up a Flux installation.
While Deploy tokens can be used, setting them up is not supported by the Flux CLI but needs manual tweaking.
Proposal
https://github.com/fluxcd/flux2/discussions/3595
add a --deploy-token optional arg to flux bootstrap gitlab, when this is set, then bootstrap switches to HTTP/S and sets the token in the secret, in the same manner it does today for --token-auth
Intended users
Feature Usage Metrics
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.