Help message for kn service apply --env
is appropriate
#1449
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kn service apply --env
is appropriate
#1449
Bug report
kn service apply --help
yields:This is not correct since you can't add or remove env vars with
apply
but just set the full set of env variables.Same possibly for
--labels
and--annotations
(or any map-based option)Expected behavior
The help message for
--env
should be different forkn service update
andkn service apply
as the behaviour is different (update
: incremental changes by adding/removing,apply
: full state)The same is true for
kn service create
where removing env vars also doesn't make any sense.Thanks to @pmbanugo for reporting this issue.
The text was updated successfully, but these errors were encountered: