Bugless #49
kartongips: remove deprecated diff-strategy flag
Added by q3k over 2 years ago.
Updated almost 2 years ago.
Description
Over in https://gerrit.hackerspace.pl/1087 , we deprecate the --diff-strategy flag and set the default behaviour to subset.
This is tracking issues to remove this flag after some time has passed and no-one complains that they relied on the old behaviour.
Current deadline is `date` + 3mo, ie. December 11, 2021.
Rationale for setting the default strategy to subset: it's the only mode I use, the only mode I see others use, and pretty much the behavior people seem to want. For some reason (backwards compat in upstream kubecfg?) it is not the default.
It's also weirdly named, as it's not strictly acting on a subset (especially now that we do things like handling aggregated ClusterRoles).
My plan is to instead have one default sane behaviour of `kartongips diff`, be it via the current 'subset' codepath or by moving kubecfg over to use server-side apply and/or even backing it in kubectl diff.
Also available in: Atom
PDF