Skip to content

fix: move namespace assignment upfront, so it is done for matchLabels+matchName - #628

Closed
fernandezcuesta wants to merge 1 commit into
crossplane-contrib:mainfrom
fernandezcuesta:fix/namespace-ignored-with-matchlabels
Closed

fernandezcuesta wants to merge 1 commit into
crossplane-contrib:mainfrom
fernandezcuesta:fix/namespace-ignored-with-matchlabels

Conversation

@fernandezcuesta

Copy link
Copy Markdown
Contributor

Description of your changes

Namespace was silently dropped when using matchLabels with ExtraResources. Move the namespace assignment up, so we do it before either matchLabels or matchName.

Fixes #600
Fixes #597

I have:

…+matchName

Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
@fernandezcuesta

Copy link
Copy Markdown
Contributor Author

Duplicate of #612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExtraResources namespace is ignored when using matchLabels Matchlabel criteria excludes namespace on ExtraResource

1 participant