mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-20 18:45:43 +00:00
Implement flux [reconcile|suspend|resume] image policy commands
Signed-off-by: lukas8219 <lucas.c4d@gmail.com>
This commit is contained in:
parent
948ed45f10
commit
48d509d838
9 changed files with 182 additions and 6 deletions
4
cmd/flux/testdata/image/reconcile_image_policy.golden
vendored
Normal file
4
cmd/flux/testdata/image/reconcile_image_policy.golden
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
► annotating ImagePolicy podinfo-semver in tis-2 namespace
|
||||
✔ ImagePolicy annotated
|
||||
◎ waiting for ImagePolicy reconciliation
|
||||
✔ selected ref ghcr.io/stefanprodan/podinfo:5.0.3@sha256:8704da90172710d422af855049175c1a8295731cbe2ad3b9a1c1074feecf8c10
|
||||
5
cmd/flux/testdata/image/resume_image_policy.golden
vendored
Normal file
5
cmd/flux/testdata/image/resume_image_policy.golden
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
► resuming image policy podinfo-semver in tis-2 namespace
|
||||
✔ image policy resumed
|
||||
◎ waiting for ImagePolicy reconciliation
|
||||
✔ ImagePolicy podinfo-semver reconciliation completed
|
||||
✔ selected ref ghcr.io/stefanprodan/podinfo:5.0.3@sha256:8704da90172710d422af855049175c1a8295731cbe2ad3b9a1c1074feecf8c10
|
||||
2
cmd/flux/testdata/image/suspend_image_policy.golden
vendored
Normal file
2
cmd/flux/testdata/image/suspend_image_policy.golden
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
► suspending image policy podinfo-semver in tis-2 namespace
|
||||
✔ image policy suspended
|
||||
Loading…
Add table
Add a link
Reference in a new issue