This repository was archived by the owner on Jan 11, 2023. It is now read-only.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to remove this deprecated label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lachie83 do you approve of retaining the
kubernetes.io/cluster-service: "true"
label with the introduction ofaddonmanager.kubernetes.io/mode=EnsureExists
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jackfrancis @lachie83 If they're both present,
addonmanager.kubernetes.io/mode=EnsureExists
will take precedence. If onlykubernetes.io/cluster-service: "true"
is present then addon-manager will treat it asaddonmanager.kubernetes.io/mode=Reconcile
.Lachie suggested removing the deprecation in another PR which is OK by me. That said, I think it's a lot clearer to remove the deprecated label and use the actual, used value for new clusters.