You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/cmd/flux
Timo Furrer 2e1721ca85 Implement `--deploy-token-auth` in GitLab bootstrapping
This change set implements support for the `--deploy-token-auth` option
in the `flux bootstrap gitlab` command.

That option will reconcile a GitLab Project Deploy Token to use for the
authentication of the GitLab git repository.
A GitLab Project Deploy Token can be used the same way as a Personal
Access Token which is already supported via `--token-auth`.
The difference with the GitLab Project Deploy Token is that the token is
managed (created, updated, deleted) by Flux and not provided by the
user.

This change is transparent to the source-controller.

A prerequisite for this change is the
`fluxcd/go-git-providers` change here:

* https://github.com/fluxcd/go-git-providers/pull/191

See related discussion here: https://github.com/fluxcd/flux2/discussions/3595
GitLab Issue here: https://gitlab.com/gitlab-org/gitlab/-/issues/392605

Signed-off-by: Timo Furrer <tuxtimo@gmail.com>
2 years ago
..
testdata Create secret with bearer-token 2 years ago
alert.go Update CLI commands to Notification API v1beta2 2 years ago
alert_provider.go Update CLI commands to Notification API v1beta2 2 years ago
bootstrap.go Remove deprecated flags 2 years ago
bootstrap_bitbucket_server.go Remove deprecated flags 2 years ago
bootstrap_git.go Remove deprecated flags 2 years ago
bootstrap_github.go Remove deprecated flags 2 years ago
bootstrap_gitlab.go Implement `--deploy-token-auth` in GitLab bootstrapping 2 years ago
build.go Add a build kustomization feature 3 years ago
build_artifact.go fix path on flux push 2 years ago
build_artifact_test.go tests: only provide template values when used 2 years ago
build_kustomization.go Fix dry-run still loading kubeconfig issue 2 years ago
build_kustomization_test.go tests: only provide template values when used 2 years ago
check.go check: Show the latest stored version of CRDs 2 years ago
check_test.go trim prefix from server version 3 years ago
completion.go Add the kube client qps and burst to the global args 3 years ago
completion_bash.go Tidy up command descriptions 4 years ago
completion_fish.go Tidy up command descriptions 4 years ago
completion_powershell.go Fix fluxcd/website#1347 2 years ago
completion_zsh.go Fix `flux completion zsh` to work with `source` only 3 years ago
create.go e2e: Update bootstrap test to Kubernetes 1.25.2 2 years ago
create_alert.go Update CLI commands to Notification API v1beta2 2 years ago
create_alertprovider.go Update CLI commands to Notification API v1beta2 2 years ago
create_helmrelease.go Replace `helmv2.KubeConfig` with `meta.KubeConfig` 2 years ago
create_image.go Tidy up command descriptions 4 years ago
create_image_policy.go Update image-reflector API to v1beta2 2 years ago
create_image_repository.go Update image-reflector API to v1beta2 2 years ago
create_image_update.go Update Source API to v1beta2 3 years ago
create_kustomization.go Add retry interval option to create kustomization command 2 years ago
create_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
create_secret.go Add `sourcesecret` and `kustomization` manifestgen 4 years ago
create_secret_git.go Create secret with bearer-token 2 years ago
create_secret_git_test.go Create secret with bearer-token 2 years ago
create_secret_helm.go Remove file reading from bootstrap package 2 years ago
create_secret_helm_test.go Add create oci secret command 2 years ago
create_secret_oci.go OCI docs improvements 2 years ago
create_secret_oci_test.go Add create oci secret command 2 years ago
create_secret_tls.go Remove file reading from bootstrap package 2 years ago
create_secret_tls_test.go validate that object name adheres to RFC 1123 for flux create commands 3 years ago
create_source.go Add fetch timeout arg to create source commands 3 years ago
create_source_bucket.go feat: add --ignore-paths flag to flux create source (git|bucket) 3 years ago
create_source_git.go Remove deprecated flags 2 years ago
create_source_git_test.go feat: add --ignore-paths flag to flux create source (git|bucket) 3 years ago
create_source_helm.go Remove file reading from bootstrap package 2 years ago
create_source_helm_test.go Add OCI support to `create source helm` 3 years ago
create_source_oci.go Add insecure flag to `flux create source oci` 2 years ago
create_source_oci_test.go e2e: update podinfo to version with newer APIs 2 years ago
create_tenant.go Add the kube client qps and burst to the global args 3 years ago
create_test.go validate that object name adheres to RFC 1123 for flux create commands 3 years ago
delete.go Add the kube client qps and burst to the global args 3 years ago
delete_alert.go Update CLI commands to Notification API v1beta2 2 years ago
delete_alertprovider.go Update CLI commands to Notification API v1beta2 2 years ago
delete_helmrelease.go Add dynamic completion suppport 3 years ago
delete_image.go Rename flux delete auto to flux delete image 4 years ago
delete_image_policy.go Update image-reflector API to v1beta2 2 years ago
delete_image_repository.go Update image-reflector API to v1beta2 2 years ago
delete_image_update.go Add dynamic completion suppport 3 years ago
delete_kustomization.go add detail to delete docs 3 years ago
delete_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
delete_source.go Rename `gotk` binary to `flux` 4 years ago
delete_source_bucket.go Update Source API to v1beta2 3 years ago
delete_source_git.go Update Source API to v1beta2 3 years ago
delete_source_helm.go Update Source API to v1beta2 3 years ago
delete_source_oci.go OCI docs improvements 2 years ago
diff.go Add contextual error code for flux diff kustomization 3 years ago
diff_artifact.go feat: diff artifact capability added 2 years ago
diff_artifact_test.go feat: diff artifact capability added 2 years ago
diff_kustomization.go Add a dry-run mode to flux build kustomization 2 years ago
diff_kustomization_test.go tests: only provide template values when used 2 years ago
docgen.go Revert "Fix broken "edit this page" links in Flux CLI section" 2 years ago
events.go events: avoid having to keep individal kind maps 2 years ago
events_test.go Add `flux events` command 2 years ago
export.go Add the kube client qps and burst to the global args 3 years ago
export_alert.go Update CLI commands to Notification API v1beta2 2 years ago
export_alertprovider.go Update CLI commands to Notification API v1beta2 2 years ago
export_helmrelease.go Add dynamic completion suppport 3 years ago
export_image.go Rename "auto" subcommands to "image" 4 years ago
export_image_policy.go Update image-reflector API to v1beta2 2 years ago
export_image_repository.go Update image-reflector API to v1beta2 2 years ago
export_image_update.go Add dynamic completion suppport 3 years ago
export_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
export_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
export_secret.go Add the kube client qps and burst to the global args 3 years ago
export_source.go Rename `gotk` binary to `flux` 4 years ago
export_source_bucket.go Update Source API to v1beta2 3 years ago
export_source_git.go Update Source API to v1beta2 3 years ago
export_source_helm.go Update Source API to v1beta2 3 years ago
export_source_oci.go Implement OCIRepository commands 2 years ago
export_test.go tests: only provide template values when used 2 years ago
get.go fix misleading messaging when using `-A` flag 2 years ago
get_alert.go Update CLI commands to Notification API v1beta2 2 years ago
get_alertprovider.go Update CLI commands to Notification API v1beta2 2 years ago
get_all.go Update CLI commands to Notification API v1beta2 2 years ago
get_helmrelease.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_image.go Output Usage for `flux get <sources|images>` 3 years ago
get_image_all.go Update image-reflector API to v1beta2 2 years ago
get_image_policy.go Update image-reflector API to v1beta2 2 years ago
get_image_repository.go Update image-reflector API to v1beta2 2 years ago
get_image_update.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_kustomization.go Support shortening of revision with digest 2 years ago
get_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
get_source.go Output Usage for `flux get <sources|images>` 3 years ago
get_source_all.go Implement OCIRepository commands 2 years ago
get_source_bucket.go Support shortening of revision with digest 2 years ago
get_source_chart.go Support shortening of revision with digest 2 years ago
get_source_git.go Support shortening of revision with digest 2 years ago
get_source_helm.go Support shortening of revision with digest 2 years ago
get_source_oci.go Support shortening of revision with digest 2 years ago
helmrelease.go Add gvk to rest of api type 3 years ago
helmrelease_test.go e2e: update podinfo to version with newer APIs 2 years ago
image.go Update image-reflector API to v1beta2 2 years ago
image_test.go tests: rename "kubectl" `setupTestNamespace` 2 years ago
install.go Remove deprecated flags 2 years ago
install_test.go tests: only provide template values when used 2 years ago
kustomization.go Add gvk to rest of api type 3 years ago
kustomization_test.go e2e: update podinfo to version with newer APIs 2 years ago
list.go OCI docs improvements 2 years ago
list_artifact.go Support logging in directly to the provider when pushing OCI artifacts 2 years ago
log.go Add Warningf to logger interface amd impl 4 years ago
logs.go Update flux logs to accomodate the new format 2 years ago
logs_test.go Update flux logs to accomodate the new format 2 years ago
main.go add validation to namespace flag 2 years ago
main_e2e_test.go tests: rename "kubectl" `setupTestNamespace` 2 years ago
main_test.go reset cmd flags 2 years ago
main_unit_test.go Update Go to v1.17 3 years ago
manifests.embed.go Add missing copyright headers 3 years ago
object.go Add gvk to rest of api type 3 years ago
pull.go Add artifact commands 2 years ago
pull_artifact.go Support logging in directly to the provider when pushing OCI artifacts 2 years ago
push.go OCI docs improvements 2 years ago
push_artifact.go Allow custom annotations to be set when pushing OCI artifacts 2 years ago
receiver.go Update CLI commands to Notification API v1beta2 2 years ago
reconcile.go Update CLI commands to Notification API v1beta2 2 years ago
reconcile_alert.go Update CLI commands to Notification API v1beta2 2 years ago
reconcile_alertprovider.go Update CLI commands to Notification API v1beta2 2 years ago
reconcile_helmrelease.go Update Source API to v1beta2 3 years ago
reconcile_image.go Rename "auto" subcommands to "image" 4 years ago
reconcile_image_repository.go Update image-reflector API to v1beta2 2 years ago
reconcile_image_updateauto.go Add dynamic completion suppport 3 years ago
reconcile_kustomization.go Implement OCIRepository commands 2 years ago
reconcile_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
reconcile_source.go Rename `gotk` binary to `flux` 4 years ago
reconcile_source_bucket.go fix: wait for Source objects observed generation 3 years ago
reconcile_source_git.go Update Source API to v1beta2 3 years ago
reconcile_source_helm.go Return a different success message for helm oci 3 years ago
reconcile_source_oci.go OCI docs improvements 2 years ago
reconcile_with_source.go Add the kube client qps and burst to the global args 3 years ago
resume.go Add the kube client qps and burst to the global args 3 years ago
resume_alert.go Update CLI commands to Notification API v1beta2 2 years ago
resume_helmrelease.go Add dynamic completion suppport 3 years ago
resume_image.go Rename "auto" subcommands to "image" 4 years ago
resume_image_repository.go Update image-reflector API to v1beta2 2 years ago
resume_image_updateauto.go Add dynamic completion suppport 3 years ago
resume_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
resume_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
resume_source.go Add resume source commands 4 years ago
resume_source_bucket.go Fix resume source bucket panic 3 years ago
resume_source_chart.go Update Source API to v1beta2 3 years ago
resume_source_git.go Update Source API to v1beta2 3 years ago
resume_source_helm.go Update Source API to v1beta2 3 years ago
resume_source_oci.go OCI docs improvements 2 years ago
source.go Implement OCIRepository commands 2 years ago
source_oci_test.go e2e: update podinfo to version with newer APIs 2 years ago
stats.go Add command to print the reconcilers status 2 years ago
status.go Update Source API to v1beta2 3 years ago
suspend.go Add the kube client qps and burst to the global args 3 years ago
suspend_alert.go Update CLI commands to Notification API v1beta2 2 years ago
suspend_helmrelease.go Add dynamic completion suppport 3 years ago
suspend_image.go Rename "auto" subcommands to "image" 4 years ago
suspend_image_repository.go Update image-reflector API to v1beta2 2 years ago
suspend_image_updateauto.go Add dynamic completion suppport 3 years ago
suspend_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
suspend_receiver.go Update CLI commands to Notification API v1beta2 2 years ago
suspend_source.go Add suspend source commands 4 years ago
suspend_source_bucket.go Update Source API to v1beta2 3 years ago
suspend_source_chart.go Update Source API to v1beta2 3 years ago
suspend_source_git.go Update Source API to v1beta2 3 years ago
suspend_source_helm.go Update Source API to v1beta2 3 years ago
suspend_source_oci.go OCI docs improvements 2 years ago
tag.go OCI docs improvements 2 years ago
tag_artifact.go Support logging in directly to the provider when pushing OCI artifacts 2 years ago
trace.go Make `flux trace` work with OCIRepository 2 years ago
trace_test.go Make `flux trace` work with OCIRepository 2 years ago
tree.go Add flux tree command 3 years ago
tree_kustomization.go flux tree: Set CRDs GroupKind in output 2 years ago
tree_kustomization_test.go Update Go to v1.17 3 years ago
uninstall.go Move uninstall code to pkg 2 years ago
version.go Add the kube client qps and burst to the global args 3 years ago
version_utils.go Add version validation to install commands 2 years ago
version_utils_test.go Update Go to v1.17 3 years ago