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

Adjust Node Label Conditions Based on Full Label Name #2841

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

OdedViner
Copy link
Contributor

@OdedViner OdedViner commented Oct 7, 2024

The OCS operator searches for the topology.kubernetes.io/zone label key using a string containing logic.
If the customer has a node with a label that includes the string zone.
The OCS operator can read another label containing 'zone' instead of topology.kubernetes.io/zone.

controllers/storagecluster/topology.go Outdated Show resolved Hide resolved
controllers/storagecluster/topology.go Outdated Show resolved Hide resolved
The OCS operator searches for the topology.kubernetes.io/zone
label key using a string containing logic.
If the customer has a node with a label
that includes the string zone.
The OCS operator can read another label containing
'zone' instead of topology.kubernetes.io/zone.

Signed-off-by: Oded Viner <oviner@redhat.com>
@malayparida2000
Copy link
Contributor

/lgtm

/cc @iamniting

@openshift-ci openshift-ci bot requested a review from iamniting October 14, 2024 08:30
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2024
Copy link
Contributor

openshift-ci bot commented Oct 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, malayparida2000, OdedViner

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 17, 2024
@malayparida2000
Copy link
Contributor

/retest

@iamniting
Copy link
Member

/test ocs-operator-bundle-e2e-aws

@openshift-merge-bot openshift-merge-bot bot merged commit 2a2fdb2 into red-hat-storage:main Oct 18, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants