Deprecate use of "master" in resource labels and names #1139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
We renamed the
master
command toaggregator
in #847 (released inv0.15.3). However,
master
was still being used in some of ourKubernetes resource labels and names. We want to remove usage of
insensitive language and as such use different labels for
identifying resources.
Now, any aggregator resources will have the label
sonobuoy-component: aggregator
and plugin resources will havesonobuoy-component: plugin
. The existing label is still in place as itwas used to identify the aggregator pod (which is required most sonobuoy
commands once a run has started). Removing it now would prevent users
with older clients from using newer images, or querying the state of
runs started by newer clients. Instead, both labels will be applied
howeve the
sonobuoy-component: aggregator
label is the preferredlabel. If the aggregator pod cannot be found using the new label, the
client will retry using the now deprecated label. When retrying, the
client will display a warning that it is attempting to find the pod
using the deprecated label.
Newer clients will be able to query the state of runs with old labels
applied, and older clients will be able to query the state of runs
created by the newer clients.
The name of the service created by Sonobuoy has been renamed to
sonobuoy-aggregator
. This has no user facing impact.Signed-off-by: Bridget McErlean [email protected]
Release note: