This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
v0.5.0
- Add
validate
subcommand. This validates API objects against the server's published OpenAPI schema. Online-only for now. - Added opt-in "garbage collection" to
update
. If you runupdate
repeatedly with the same--gc-tag
value, thenupdate
will now delete API objects with that "tag" on the server that are no longer found in local config.- To start using this feature, just start using
--gc-tag
(and importantly specify the same set of input files on each invocation). "Stale" objects will be deleted on the second and subsequentupdate
runs. - To stop using this feature, just stop using
--gc-tag
. kubecfg update -v --gc-tag=foo --dry-run
can be used to indicate what (if any) objects will be deleted (not a 100% accurate representation, since actually creating/updating objects might alter the state of the cluster)- Multiple disjoint pipelines pushing to the same cluster using different
--gc-tag
values and different input files are safe.
- To start using this feature, just start using