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

Prevent subscription config override if it is not empty #247

Conversation

tangledbytes
Copy link
Contributor

@tangledbytes tangledbytes commented Sep 7, 2022

Description

This PR prevents subscription config override if it is not empty. This change was made in order to allow users to be able to edit subscription if there is a need for the same (for eg. adding tolerations to underlying objects, etc.)

Test

Following steps were taken to test the changes

  1. Steps in the README were followed to deploy ODF with OLM on an OpenShift Cluster.
  2. MCG Subscription was edited to add a toleration
  3. Manual inspection of subscription confirmed that the config were no longer overridden.
  4. Manual inspection of NooBaa operation confirmed that the toleration was propagated to the operator and was persisted.

Signed-off-by: Utkarsh Srivastava srivastavautkarsh8097@gmail.com

https://bugzilla.redhat.com/show_bug.cgi?id=2122980

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 7, 2022

Hi @utkarsh-pro. Thanks for your PR.

I'm waiting for a red-hat-storage member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Member

@iamniting iamniting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed needs-ok-to-test labels Sep 7, 2022
Signed-off-by: Utkarsh Srivastava <srivastavautkarsh8097@gmail.com>
@tangledbytes tangledbytes force-pushed the utkarsh-pro/fix/improve-sub-config branch from 0dd7ce6 to 0293f42 Compare September 7, 2022 08:56
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2022
Copy link
Member

@iamniting iamniting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 7, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, utkarsh-pro

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

@iamniting
Copy link
Member

/ok-to-test

@openshift-merge-robot openshift-merge-robot merged commit dfa2cc6 into red-hat-storage:main Sep 8, 2022
18 checks passed
@iamniting iamniting added the backport-release-4.11 Indicate PR requires to be backported label Sep 15, 2022
@iamniting
Copy link
Member

/cherry-pick release-4.11

@openshift-cherrypick-robot

@iamniting: new pull request created: #257

In response to this:

/cherry-pick release-4.11

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@iamniting
Copy link
Member

/cherry-pick release-4.10

@openshift-cherrypick-robot

@iamniting: new pull request created: #262

In response to this:

/cherry-pick release-4.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. backport-release-4.10 Indicate PR requires to be backported backport-release-4.11 Indicate PR requires to be backported lgtm Indicates that a PR is ready to be merged. ok-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants