fluxcd / flux

Successor: https://github.com/fluxcd/flux2
https://fluxcd.io
Apache License 2.0
6.9k stars 1.08k forks source link

Define default behaviour for "fluxctl release --interactive" #1493

Closed dholbach closed 3 years ago

dholbach commented 5 years ago

Right now typing fluxctl release --interactive gives me:

Error: please supply exactly one of --update-image=<image> or --update-all-images
Run 'fluxctl release --help' for usage.

After reading

      --interactive           Select interactively which containers to update

that's not what I expected.

kingdonb commented 3 years ago

This is apparently how it works:

$ fluxctl release --interactive --k8s-fwd-ns kingdonb  --workload=kingdonb:deployment/lmc-app --update-all-images
Submitting dry-run release ...
    WORKLOAD                     STATUS   UPDATES
⇒ ◉ kingdonb:deployment/lmc-app  success  lmc-app: registry.cloud.okteto.net/kingdonb/lmc-app:eeb5e0b8 -> 25f9b8cd

Use arrow keys and [Space] to toggle updates; hit [Enter] to release selected.

Submitting selected release ...
WORKLOAD                     STATUS   UPDATES
kingdonb:deployment/lmc-app  success  lmc-app: registry.cloud.okteto.net/kingdonb/lmc-app:eeb5e0b8 -> 25f9b8cd
Commit pushed:  52892ac
Commit applied: 52892ac