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
Max Jonas Werner be1ce74dc5
fix: trim CRLF from password read from stdin
bufio's reader.ReadString includes any CRLF characters and we don't
want these in the resulting token because this leads to errors in the
authentication like this:

```
✗ failed to get Git repository
"https://github.com/kingdon-ci/jenkins-infra": Get
"https://api.github.com/repos/kingdon-ci/jenkins-infra": net/http:
invalid header field value "Bearer gho_NNNNNsecrettokenMMMMM\n" for
key Authorization
```

Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
..
testdata Add unit tests for export 3 years ago
alert.go Request reconcile using patch instead of update 3 years ago
alert_provider.go Request reconcile using patch instead of update 3 years ago
bootstrap.go bootstrap: Set ECDSA as the default SSH key algorithm 3 years ago
bootstrap_git.go Use proper GPG terminology 3 years ago
bootstrap_github.go fix: improve wording 3 years ago
bootstrap_gitlab.go fix: improve wording 3 years ago
check.go Switch to app.kubernetes.io/part-of label selector 3 years ago
check_test.go Add missing copyright headers 3 years ago
completion.go Add dynamic completion suppport 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 Tidy up command descriptions 4 years ago
completion_zsh.go Fix `flux completion zsh` to work with `source` only 3 years ago
create.go Refactor cmd global variables into structs 4 years ago
create_alert.go Switch StringArrayVar flags to use StringSliceVar 4 years ago
create_alertprovider.go Tidy up command descriptions 4 years ago
create_helmrelease.go Check for nil pointer before setting createNamespace in helmrelease 3 years ago
create_image.go Tidy up command descriptions 4 years ago
create_image_policy.go Update image-reflector-controller to v0.12.0 3 years ago
create_image_repository.go Use image API v1beta1 4 years ago
create_image_update.go Use image API v1beta1 4 years ago
create_kustomization.go Add wait flag to create kustomization cmd 3 years ago
create_receiver.go Switch StringArrayVar flags to use StringSliceVar 4 years ago
create_secret.go Add `sourcesecret` and `kustomization` manifestgen 4 years ago
create_secret_git.go Set ECDSA as the default algorithm for `flux create secret git` 3 years ago
create_secret_git_test.go Add test for create secret 3 years ago
create_secret_helm.go Add test for create secret 3 years ago
create_secret_helm_test.go Add test for create secret 3 years ago
create_secret_tls.go Add test for create secret 3 years ago
create_secret_tls_test.go Add test for create secret 3 years ago
create_source.go Add fetch timeout arg to create source commands 3 years ago
create_source_bucket.go Add fetch timeout arg to create source commands 3 years ago
create_source_git.go Set ECDSA as the default algorithm for `flux create source git` 3 years ago
create_source_git_test.go Add missing copyright headers 3 years ago
create_source_helm.go Add fetch timeout arg to create source commands 3 years ago
create_tenant.go Adds a watch flag to the get command 3 years ago
delete.go Refactor cmd global variables into structs 4 years ago
delete_alert.go Add dynamic completion suppport 3 years ago
delete_alertprovider.go Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 years ago
delete_image_repository.go Add dynamic completion suppport 3 years ago
delete_image_update.go Add dynamic completion suppport 3 years ago
delete_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
delete_receiver.go Add dynamic completion suppport 3 years ago
delete_source.go Rename `gotk` binary to `flux` 4 years ago
delete_source_bucket.go Add dynamic completion suppport 3 years ago
delete_source_git.go Add dynamic completion suppport 3 years ago
delete_source_helm.go Add dynamic completion suppport 3 years ago
docgen.go Remove ' command' from Flux CLI docs title 4 years ago
export.go Add unit tests for export 3 years ago
export_alert.go Add dynamic completion suppport 3 years ago
export_alertprovider.go Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 years ago
export_image_repository.go Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 years ago
export_secret.go Format go imports 4 years ago
export_source.go Rename `gotk` binary to `flux` 4 years ago
export_source_bucket.go Add dynamic completion suppport 3 years ago
export_source_git.go Add dynamic completion suppport 3 years ago
export_source_helm.go Add dynamic completion suppport 3 years ago
export_test.go Add unit tests for export 3 years ago
get.go Fix "get" subcommands to use stdout instead of stderr 3 years ago
get_alert.go Add dynamic completion suppport 3 years ago
get_alertprovider.go Add dynamic completion suppport 3 years ago
get_all.go Update kustomize-controller API to v1beta2 3 years ago
get_helmrelease.go Add dynamic completion suppport 3 years ago
get_image.go Adds a watch flag to the get command 3 years ago
get_image_all.go Adds a watch flag to the get command 3 years ago
get_image_policy.go Add dynamic completion suppport 3 years ago
get_image_repository.go Add dynamic completion suppport 3 years ago
get_image_update.go Add dynamic completion suppport 3 years ago
get_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
get_receiver.go Add dynamic completion suppport 3 years ago
get_source.go Adds a watch flag to the get command 3 years ago
get_source_all.go Adds a watch flag to the get command 3 years ago
get_source_bucket.go Add dynamic completion suppport 3 years ago
get_source_chart.go Add dynamic completion suppport 3 years ago
get_source_git.go Add dynamic completion suppport 3 years ago
get_source_helm.go Add dynamic completion suppport 3 years ago
helmrelease.go Request reconcile using patch instead of update 3 years ago
helmrelease_test.go Add missing copyright headers 3 years ago
image.go Request reconcile using patch instead of update 3 years ago
image_test.go Use shared envTest for unit tests 3 years ago
install.go Add poll interval flag to flux check cmd 3 years ago
kustomization.go Update kustomize-controller API to v1beta2 3 years ago
kustomization_test.go Add missing copyright headers 3 years ago
log.go Add Warningf to logger interface amd impl 4 years ago
logs.go Switch to app.kubernetes.io/part-of label selector 3 years ago
logs_test.go Add missing copyright headers 3 years ago
main.go fix: trim CRLF from password read from stdin 3 years ago
main_e2e_test.go Add missing copyright headers 3 years ago
main_test.go Add test for create secret 3 years ago
main_unit_test.go Add missing copyright headers 3 years ago
manifests.embed.go Add missing copyright headers 3 years ago
object.go Request reconcile using patch instead of update 3 years ago
receiver.go Request reconcile using patch instead of update 3 years ago
reconcile.go Fix quoting around reconciliation error message 3 years ago
reconcile_alert.go Add dynamic completion suppport 3 years ago
reconcile_alertprovider.go Add dynamic completion suppport 3 years ago
reconcile_helmrelease.go Add dynamic completion suppport 3 years ago
reconcile_image.go Rename "auto" subcommands to "image" 4 years ago
reconcile_image_repository.go Add dynamic completion suppport 3 years ago
reconcile_image_updateauto.go Add dynamic completion suppport 3 years ago
reconcile_kustomization.go Update kustomize-controller API to v1beta2 3 years ago
reconcile_receiver.go Add dynamic completion suppport 3 years ago
reconcile_source.go Rename `gotk` binary to `flux` 4 years ago
reconcile_source_bucket.go Add dynamic completion suppport 3 years ago
reconcile_source_git.go Add dynamic completion suppport 3 years ago
reconcile_source_helm.go Add dynamic completion suppport 3 years ago
reconcile_with_source.go Better checks for reconciliation in reconcile run command 3 years ago
resume.go Fix description for resume --all 3 years ago
resume_alert.go Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 years ago
resume_source.go Add resume source commands 4 years ago
resume_source_bucket.go Add dynamic completion suppport 3 years ago
resume_source_chart.go Add dynamic completion suppport 3 years ago
resume_source_git.go Add dynamic completion suppport 3 years ago
resume_source_helm.go Add dynamic completion suppport 3 years ago
source.go Request reconcile using patch instead of update 3 years ago
status.go Move `StatusChecker` to separate and generic pkg 4 years ago
suspend.go Adds suspend and resume all cmd 4 years ago
suspend_alert.go Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 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 Add dynamic completion suppport 3 years ago
suspend_source.go Add suspend source commands 4 years ago
suspend_source_bucket.go Add dynamic completion suppport 3 years ago
suspend_source_chart.go Add dynamic completion suppport 3 years ago
suspend_source_git.go Add dynamic completion suppport 3 years ago
suspend_source_helm.go Add dynamic completion suppport 3 years ago
trace.go Update kustomize-controller API to v1beta2 3 years ago
trace_test.go Use shared envTest for unit tests 3 years ago
tree.go Add flux tree command 3 years ago
tree_kustomization.go Enable completion for flux tree cmd 3 years ago
tree_kustomization_test.go Add flux tree command 3 years ago
uninstall.go Switch to app.kubernetes.io/part-of label selector 3 years ago
version.go Switch to app.kubernetes.io/part-of label selector 3 years ago
version_utils.go Add flux version command 3 years ago
version_utils_test.go Add flux version command 3 years ago