Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support broker name filter when listing service plans #3429

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

danail-branekov
Copy link
Member

Is there a related GitHub Issue?

#3420

What is this change about?

  • The broker controller sets the broker name under the
    korifiv1alpha1.RelServiceBrokerNameLabel label when reconciling
    broker catalog. This is safe as upon a broker rename the controller
    would reconcile its catalog again and would ammend plans/offering
    labels
  • The plan repository filters plans by broker name whenever the broker
    names filter is specified
  • While being here:
    • The constant RelServiceBrokerLabel has been renamed to
      RelServiceBrokerGUIDLabel to make it explicit that this is the
      broker guid
    • The constant RelServiceOfferingLabel has been renamed to RelServiceOfferingGUIDLabel` to make it explicit that this is the
      offering guid
    • The value of the RelServiceBrokerGUIDLabel and
      RelServiceOfferingGUIDLabel constants has the -guid suffix added
      in order to be more explicit

Tag your pair, your PM, and/or team

@georgethebeatle

* The broker controller sets the broker name under the
  `korifiv1alpha1.RelServiceBrokerNameLabel` label when reconciling
  broker catalog. This is safe as upon a broker rename the controller
  would reconcile its catalog again and would ammend plans/offering
  labels
* The plan repository filters plans by broker name whenever the broker
  names filter is specified
* While being here:
  - The constant `RelServiceBrokerLabel` has been renamed to
    `RelServiceBrokerGUIDLabel` to make it explicit that this is the
    broker guid
  - The constant `RelServiceOfferingLabel has been renamed to
    `RelServiceOfferingGUIDLabel` to make it explicit that this is the
    offering guid
  - The value of the `RelServiceBrokerGUIDLabel` and
    `RelServiceOfferingGUIDLabel` constants has the `-guid` suffix added
    in order to be more explicit

fixes #3420
@danail-branekov danail-branekov force-pushed the issue/3420-filter-plans-by-broker-name branch from ac0f13e to f8bab10 Compare August 14, 2024 14:01
@georgethebeatle georgethebeatle merged commit abc683f into main Aug 15, 2024
11 checks passed
@georgethebeatle georgethebeatle deleted the issue/3420-filter-plans-by-broker-name branch August 15, 2024 09:51
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.

2 participants