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

Change any embedded namespace to current one #2008

Conversation

aruniiird
Copy link
Contributor

In local prometheus yaml file, we have 'openshift-storage' namespace embedded into the file. This change will make sure we have the current namespace in the YAML file.
As the function is general, it can be extended to do more sophisticated regex based replacements.
Tests added.

@aruniiird
Copy link
Contributor Author

@iamniting , @umangachapagain , please take a look...

@iamniting
Copy link
Member

/test ocs-operator-bundle-e2e-aws

@aruniiird
Copy link
Contributor Author

@umangachapagain , please take a look...

In local prometheus yaml file, we have 'openshift-storage' namespace
embedded into the file. This change will make sure we have the current
namespace in the YAML file.
As the function is general, it can be extended to do more sophisticated
regex based replacements.
Tests added.

Signed-off-by: Arun Kumar Mohan <amohan@redhat.com>
@aruniiird aruniiird force-pushed the change-to-current-namespace-in-prometheus-yaml branch from d697a27 to 8f09854 Compare April 17, 2023 11:32
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 17, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 17, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aruniiird, umangachapagain

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 Apr 17, 2023
@umangachapagain
Copy link
Contributor

/cherry-pick release-4.13

@openshift-cherrypick-robot

@umangachapagain: once the present PR merges, I will cherry-pick it on top of release-4.13 in a new PR and assign it to you.

In response to this:

/cherry-pick release-4.13

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.

@aruniiird
Copy link
Contributor Author

/retest

@openshift-merge-robot openshift-merge-robot merged commit 357d18f into red-hat-storage:main Apr 18, 2023
17 checks passed
@openshift-cherrypick-robot

@umangachapagain: new pull request created: #2016

In response to this:

/cherry-pick release-4.13

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.12

@openshift-cherrypick-robot

@iamniting: new pull request created: #2020

In response to this:

/cherry-pick release-4.12

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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants