Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Fix customResourceDiscoverySet controller #514

Merged
merged 3 commits into from Jul 24, 2020

Conversation

nmiculinic
Copy link
Contributor

@nmiculinic nmiculinic commented Jul 22, 2020

What this PR does / why we need it:

This PR fixed the customResourceDiscoverySet Bug. The bug is as follows:

  • 2 provides use the same-named CustomResourceDiscoverySet
  • The // Cleanup uncontrolled CRDiscoveries which was intended to clean up CRDiscoveries for deleted service clusters assassinates other providers CRDiscoveries. Why? Because the lookup isn't namespace bound but crosses the namespace boundary.

This PR fixes this in 2 ways, for extra safety:

  • the lookup is now namespace bound
  • the label value is now namespace aware
NONE

@kubermatic-bot kubermatic-bot added the release-note-none Denotes a PR that doesn't merit a release note. label Jul 22, 2020
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nmiculinic

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 22, 2020
@nmiculinic
Copy link
Contributor Author

/retest

1 similar comment
@nmiculinic
Copy link
Contributor Author

/retest

@nmiculinic
Copy link
Contributor Author

/retest

@aborilov
Copy link
Contributor

/lgtm

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2020
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: e3d7b97f3e2f8ba04224aa295f38483b1faff7b0

@kubermatic-bot kubermatic-bot merged commit 65349f7 into master Jul 24, 2020
@kubermatic-bot kubermatic-bot deleted the fix-customresourcediscoveryset branch July 24, 2020 07:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants