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

Bug 2174335:[release-4.12] Remove namespace dependency from the configmap and inject it in the deployment #304

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #277

/assign iamniting

Add new variable `OPERATOR_CATALOGSOURCE_NAMESPACE` in the makefile for
specifying the catalog source namespace.

Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Adding the OPERATOR_NAMESPACE constant value to the configmap causes few
issues if we deploy the operator in any other namespace. Because this
value is set at the build time, it cannot be changed while the operator
is being deployed. Instead, we'll include this environment variable in
the deployment and set its value using the downward API.

Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Make use of the k8s downward APIs to set the OPERATOR-NAMESPACE.
Even if we do not run the operator in the openshift-storage namespace,
it will always return the correct namespace to us.

Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Allow odf-operator to install in any namespace using the kustomize.

Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
@iamniting iamniting changed the title [release-4.12] Remove namespace dependency from the configmap and inject it in the deployment Bug 2174335:[release-4.12] Remove namespace dependency from the configmap and inject it in the deployment Mar 20, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2023

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2174335, which is invalid:

  • expected the bug to target the "ODF 4.12.1" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 2174335:[release-4.12] Remove namespace dependency from the configmap and inject it in the deployment

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

/bugzilla refresh

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2023

@iamniting: This pull request references Bugzilla bug 2174335, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (ODF 4.12.2) matches configured target release for branch (ODF 4.12.2)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (ebenahar@redhat.com), skipping review request.

In response to this:

/bugzilla refresh

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

/test odf-operator-bundle-e2e-aws

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 21, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 21, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iamniting, openshift-cherrypick-robot

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 Mar 21, 2023
@openshift-merge-robot openshift-merge-robot merged commit 673f1fd into red-hat-storage:release-4.12 Mar 21, 2023
18 checks passed
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 21, 2023

@openshift-cherrypick-robot: Some pull requests linked via external trackers have merged:

The following pull requests linked via external trackers have not merged:

These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with /bugzilla refresh.

Bugzilla bug 2174335 has not been moved to the MODIFIED state.

In response to this:

Bug 2174335:[release-4.12] Remove namespace dependency from the configmap and inject it in the deployment

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. bugzilla/severity-high bugzilla/valid-bug 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

3 participants