fluxcd-flux2/cmd/flux
Travis Mattera 479fc3cd3b
Adds an optional reason cli flag to the suspend command that
accepts a reason for why the resource was suspended.

Defines the resource metadata annotation key that stores the reason for
the resource suspension.

Updates the suspend and resume resource patching to add or remove the
annotation holding the suspend reason.

Signed-off-by: Travis Mattera <travis@mattera.io>
2023-09-11 19:53:49 -07:00
..
testdata modify flux create secret tls to create secrets of type TLS 2023-08-23 14:44:10 +05:30
alert.go Update CLI commands to Notification API v1beta2 2022-12-21 17:14:18 +02:00
alert_provider.go Update CLI commands to Notification API v1beta2 2022-12-21 17:14:18 +02:00
bootstrap.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
bootstrap_bitbucket_server.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
bootstrap_git.go fix some comments 2023-05-01 18:05:10 +02:00
bootstrap_github.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
bootstrap_gitlab.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
build.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
build_artifact.go Update Kubernetes to v1.27 and Kustomize to v5.0 2023-05-23 18:49:47 +03:00
build_artifact_test.go tests: only provide template values when used 2023-02-15 13:22:44 +01:00
build_kustomization.go Add the possibility to ignore files with build and diff ks 2023-04-06 11:33:13 +02:00
build_kustomization_test.go Take into account the server-side inventory for local diff 2023-07-11 10:19:12 +02:00
check.go Set Kubernetes min version to 1.25 2023-08-02 14:17:30 +03:00
check_test.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
completion.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
completion_bash.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
completion_fish.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
completion_powershell.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
completion_zsh.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_alert.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_alertprovider.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_helmrelease.go Fix break lines in create helmrelease and source 2023-05-26 15:37:55 +02:00
create_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_image_policy.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_image_repository.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_image_update.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_kustomization.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_receiver.go Update toolkit components 2023-05-09 18:34:03 +03:00
create_secret.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_secret_git.go add flag --ca-crt-file to flux create secret git 2023-08-23 14:44:09 +05:30
create_secret_git_test.go add flag --ca-crt-file to flux create secret git 2023-08-23 14:44:09 +05:30
create_secret_helm.go deprecate TLS flags for flux create secret helm 2023-08-23 14:44:09 +05:30
create_secret_helm_test.go Add create oci secret command 2022-08-09 12:44:59 +03:00
create_secret_oci.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_secret_oci_test.go Add create oci secret command 2022-08-09 12:44:59 +03:00
create_secret_tls.go add deprecation warning per secret key field and constant 2023-08-23 14:44:09 +05:30
create_secret_tls_test.go add support for Kubernetes TLS keys for flux create secret tls 2023-08-23 14:44:09 +05:30
create_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_source_bucket.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_source_git.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
create_source_git_test.go Update GitRepository Receiver, and Kustomization to v1 2023-04-05 16:05:20 +03:00
create_source_helm.go Fix break lines in create helmrelease and source 2023-05-26 15:37:55 +02:00
create_source_helm_test.go Add OCI support to create source helm 2022-06-01 15:59:52 +02:00
create_source_oci.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_source_oci_test.go e2e: update podinfo to version with newer APIs 2023-03-09 11:43:05 +01:00
create_tenant.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
create_test.go validate that object name adheres to RFC 1123 for flux create commands 2022-02-16 10:51:03 +01:00
delete.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_alert.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_alertprovider.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_helmrelease.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_image_policy.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_image_repository.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_image_update.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_kustomization.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_receiver.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_source_bucket.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_source_git.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_source_helm.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
delete_source_oci.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
diff.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
diff_artifact.go Update Kubernetes to v1.27 and Kustomize to v5.0 2023-05-23 18:49:47 +03:00
diff_artifact_test.go feat: diff artifact capability added 2022-10-20 13:23:50 +03:00
diff_kustomization.go Add the possibility to ignore files with build and diff ks 2023-04-06 11:33:13 +02:00
diff_kustomization_test.go Fix selection of kustomization resource from multi doc yaml 2023-08-07 12:05:29 +02:00
docgen.go Revert "Fix broken "edit this page" links in Flux CLI section" 2022-09-06 15:20:42 +02:00
events.go cmd/events: handle error value 2023-08-22 13:39:39 +02:00
events_test.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
export.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_alert.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_alertprovider.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_helmrelease.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_image_policy.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_image_repository.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_image_update.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_kustomization.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_receiver.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_secret.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
export_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_source_bucket.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_source_git.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_source_helm.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_source_oci.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
export_test.go tests: only provide template values when used 2023-02-15 13:22:44 +01:00
get.go Don't log errors with missing CRDs for "get * all" commands 2023-06-22 18:03:38 +02:00
get_alert.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_alertprovider.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_all.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_helmrelease.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_image_all.go Don't log errors with missing CRDs for "get * all" commands 2023-06-22 18:03:38 +02:00
get_image_policy.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_image_repository.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_image_update.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_kustomization.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_receiver.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_all.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_bucket.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_chart.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_git.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_helm.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_source_oci.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
get_test.go Add label selector flag to get cmd 2023-04-11 17:00:57 +01:00
helmrelease.go Add gvk to rest of api type 2022-02-21 10:40:35 +01:00
helmrelease_test.go e2e: update podinfo to version with newer APIs 2023-03-09 11:43:05 +01:00
image.go Update image-reflector API to v1beta2 2023-02-17 00:32:48 +05:30
image_test.go tests: rename "kubectl" setupTestNamespace 2023-02-15 13:56:55 +01:00
install.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
install_test.go tests: only provide template values when used 2023-02-15 13:22:44 +01:00
kustomization.go Update GitRepository Receiver, and Kustomization to v1 2023-04-05 16:05:20 +03:00
kustomization_test.go Add support for passing multiple objects to suspend/resume commands 2023-06-29 08:23:13 +02:00
list.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
list_artifact.go Update Kubernetes to v1.27 and Kustomize to v5.0 2023-05-23 18:49:47 +03:00
log.go Add Warningf to logger interface amd impl 2021-04-08 10:48:27 +03:00
logs.go Make flux logs more lenient 2023-06-05 10:07:38 +02:00
logs_e2e_test.go Make flux logs more lenient 2023-06-05 10:07:38 +02:00
logs_unit_test.go Make flux logs more lenient 2023-06-05 10:07:38 +02:00
main.go set controller-runtime logger to a null logger 2023-05-30 14:40:17 +05:30
main_e2e_test.go cmd: address typo in end-to-end tests 2023-08-21 17:17:02 +02:00
main_test.go Add support for passing multiple objects to suspend/resume commands 2023-06-29 08:23:13 +02:00
main_unit_test.go Update Go to v1.17 2022-01-10 16:30:38 +01:00
manifests.embed.go Add missing copyright headers 2021-10-14 16:14:28 +03:00
object.go Add support for passing multiple objects to suspend/resume commands 2023-06-29 08:23:13 +02:00
pull.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
pull_artifact.go Update Kubernetes to v1.27 and Kustomize to v5.0 2023-05-23 18:49:47 +03:00
push.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
push_artifact.go Fix the flux push example for ECR 2023-06-27 16:33:40 +03:00
receiver.go Update GitRepository Receiver, and Kustomization to v1 2023-04-05 16:05:20 +03:00
reconcile.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
reconcile_alert.go Update CLI commands to Notification API v1beta2 2022-12-21 17:14:18 +02:00
reconcile_alertprovider.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
reconcile_helmrelease.go fix: support reconcile recursive source tree hr => chart => repo 2023-05-25 13:40:21 +02:00
reconcile_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
reconcile_image_repository.go Fix autocompletion for image repository reconcile 2023-05-08 20:14:19 +08:00
reconcile_image_updateauto.go Add dynamic completion suppport 2021-09-18 17:27:47 +09:00
reconcile_kustomization.go fix: support reconcile recursive source tree hr => chart => repo 2023-05-25 13:40:21 +02:00
reconcile_receiver.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
reconcile_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
reconcile_source_bucket.go fix: wait for Source objects observed generation 2022-03-23 12:38:42 +01:00
reconcile_source_chart.go fix autocompletion for helm chart 2023-08-22 14:19:08 +01:00
reconcile_source_git.go Update GitRepository Receiver, and Kustomization to v1 2023-04-05 16:05:20 +03:00
reconcile_source_helm.go Return a different success message for helm oci 2022-06-22 12:03:20 +01:00
reconcile_source_oci.go OCI docs improvements 2022-08-10 12:02:30 +03:00
reconcile_with_source.go fix: support reconcile recursive source tree hr => chart => repo 2023-05-25 13:40:21 +02:00
resume.go Add support for passing multiple objects to suspend/resume commands 2023-06-29 08:23:13 +02:00
resume_alert.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_helmrelease.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
resume_image_repository.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_image_updateauto.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_kustomization.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_receiver.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
resume_source_bucket.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_source_chart.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_source_git.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_source_helm.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
resume_source_oci.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
source.go Update GitRepository Receiver, and Kustomization to v1 2023-04-05 16:05:20 +03:00
source_oci_test.go e2e: update podinfo to version with newer APIs 2023-03-09 11:43:05 +01:00
stats.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
status.go Update Source API to v1beta2 2022-03-23 11:33:35 +01:00
suspend.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_alert.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_helmrelease.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_image.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
suspend_image_repository.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_image_updateauto.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_kustomization.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_receiver.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_source.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
suspend_source_bucket.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_source_chart.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_source_git.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_source_helm.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
suspend_source_oci.go Adds an optional reason cli flag to the suspend command that 2023-09-11 19:53:49 -07:00
tag.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
tag_artifact.go Update Kubernetes to v1.27 and Kustomize to v5.0 2023-05-23 18:49:47 +03:00
trace.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
trace_test.go Make flux trace work with OCIRepository 2022-08-10 14:37:28 +02:00
tree.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
tree_kustomization.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
tree_kustomization_test.go Update Go to v1.17 2022-01-10 16:30:38 +01:00
uninstall.go add a preview note for all non-bootstrap commands 2023-04-05 16:05:21 +03:00
version.go Fix controller version info 2023-08-22 12:36:58 +03:00
version_test.go Fix controller version info 2023-08-22 12:36:58 +03:00
version_utils.go Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
version_utils_test.go Update Go to v1.17 2022-01-10 16:30:38 +01:00