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
Hidde Beydals 3edcd16b62 fix: wait for Source objects observed generation
This ensures the command will wait for the object to report a Ready
Condition with an ObservedGeneration matching the Generation of the
resource. Ensuring that when a "create" is actually a mutation, it waits
instead of prematurely assuming the Source to be Ready.

Signed-off-by: Hidde Beydals <hello@hidde.co>
3 years ago
..
testdata Update Source API to v1beta2 3 years ago
alert.go Add gvk to rest of api type 3 years ago
alert_provider.go Add gvk to rest of api type 3 years ago
bootstrap.go Add components-extra example usage to CLI help 3 years ago
bootstrap_bitbucket_server.go Add GPG options to Gitlab and BitBucket bootstraps 3 years ago
bootstrap_git.go Avoid overwriting the host port on http requests 3 years ago
bootstrap_github.go Replace github boostrap GPG options 3 years ago
bootstrap_gitlab.go Add GPG options to Gitlab and BitBucket bootstraps 3 years ago
build.go Add a build kustomization feature 3 years ago
build_kustomization.go Add graceful shutdown when interrupted 3 years ago
build_kustomization_test.go Add e2e tests for build/diff kustomization 3 years ago
check.go Set minimum supported version to Kubernetes 1.20.6 3 years ago
check_test.go Update Go to v1.17 3 years ago
completion.go Use k8s.io/cli-runtime for kubernetes flags 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 Remove validation from sub-commands 3 years ago
create_alert.go Remove validation from sub-commands 3 years ago
create_alertprovider.go Remove validation from sub-commands 3 years ago
create_helmrelease.go Remove validation from sub-commands 3 years ago
create_image.go Tidy up command descriptions 4 years ago
create_image_policy.go Remove validation from sub-commands 3 years ago
create_image_repository.go Remove validation from sub-commands 3 years ago
create_image_update.go Update Source API to v1beta2 3 years ago
create_kustomization.go Remove validation from sub-commands 3 years ago
create_receiver.go Remove validation from sub-commands 3 years ago
create_secret.go Add `sourcesecret` and `kustomization` manifestgen 4 years ago
create_secret_git.go Remove validation from sub-commands 3 years ago
create_secret_git_test.go validate that object name adheres to RFC 1123 for flux create commands 3 years ago
create_secret_helm.go Remove validation from sub-commands 3 years ago
create_secret_helm_test.go validate that object name adheres to RFC 1123 for flux create commands 3 years ago
create_secret_tls.go Remove validation from sub-commands 3 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 fix: wait for Source objects observed generation 3 years ago
create_source_git.go fix: wait for Source objects observed generation 3 years ago
create_source_git_test.go fix: wait for Source objects observed generation 3 years ago
create_source_helm.go fix: wait for Source objects observed generation 3 years ago
create_tenant.go Remove validation from sub-commands 3 years ago
create_test.go validate that object name adheres to RFC 1123 for flux create commands 3 years ago
delete.go Use k8s.io/cli-runtime for kubernetes flags 3 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 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
diff.go Add contextual error code for flux diff kustomization 3 years ago
diff_kustomization.go Fix stringData Secret issue 3 years ago
diff_kustomization_test.go Fix stringData Secret issue 3 years ago
docgen.go Remove ' command' from Flux CLI docs title 4 years ago
export.go Use k8s.io/cli-runtime for kubernetes flags 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 Use k8s.io/cli-runtime for kubernetes flags 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_test.go Update Go to v1.17 3 years ago
get.go Introduce a printer interface for flux resource 3 years ago
get_alert.go Move MESSAGE to the end of `get` subcommand output 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 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 Adds a watch flag to the get command 3 years ago
get_image_policy.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_image_repository.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_image_update.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_kustomization.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_receiver.go Move MESSAGE to the end of `get` subcommand output 3 years ago
get_source.go Output Usage for `flux get <sources|images>` 3 years ago
get_source_all.go Update Source API to v1beta2 3 years ago
get_source_bucket.go Update Source API to v1beta2 3 years ago
get_source_chart.go Update Source API to v1beta2 3 years ago
get_source_git.go Update Source API to v1beta2 3 years ago
get_source_helm.go Update Source API to v1beta2 3 years ago
helmrelease.go Add gvk to rest of api type 3 years ago
helmrelease_test.go Update Go to v1.17 3 years ago
image.go Add gvk to rest of api type 3 years ago
image_test.go Update Go to v1.17 3 years ago
install.go Add components-extra example usage to CLI help 3 years ago
kustomization.go Add gvk to rest of api type 3 years ago
kustomization_test.go Update Go to v1.17 3 years ago
log.go Add Warningf to logger interface amd impl 4 years ago
logs.go Use text/template 3 years ago
logs_test.go Update Go to v1.17 3 years ago
main.go Mask dockerconfigjson secret types and support StringData secrets 3 years ago
main_e2e_test.go Update Go to v1.17 3 years ago
main_test.go all: fix some typos 3 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
receiver.go Add gvk to rest of api type 3 years ago
reconcile.go Update Source API to v1beta2 3 years ago
reconcile_alert.go Add dynamic completion suppport 3 years ago
reconcile_alertprovider.go Use k8s.io/cli-runtime for kubernetes flags 3 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 Add dynamic completion suppport 3 years ago
reconcile_image_updateauto.go Add dynamic completion suppport 3 years ago
reconcile_kustomization.go Update Source API to v1beta2 3 years ago
reconcile_receiver.go Use k8s.io/cli-runtime for kubernetes flags 3 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 Update Source API to v1beta2 3 years ago
reconcile_with_source.go Update Source API to v1beta2 3 years ago
resume.go add wait flag to flux resume cmd 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 Update Source API to v1beta2 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
source.go Update Source API to v1beta2 3 years ago
status.go Update Source API to v1beta2 3 years ago
suspend.go use client.Patch for suspend/resume operations 3 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 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
trace.go Update Source API to v1beta2 3 years ago
trace_test.go Fix failure in TestTrace/* when timezone isn't UTC 3 years ago
tree.go Add flux tree command 3 years ago
tree_kustomization.go Update dependencies 3 years ago
tree_kustomization_test.go Update Go to v1.17 3 years ago
uninstall.go Update Source API to v1beta2 3 years ago
version.go Use k8s.io/cli-runtime for kubernetes flags 3 years ago
version_utils.go Add flux version command 3 years ago
version_utils_test.go Update Go to v1.17 3 years ago