Skip to content

Bug 1915467: cherry-pick hooks helpers and config observer#986

Merged
openshift-merge-robot merged 5 commits intoopenshift:release-4.6from
bertinatto:secret-46
Feb 4, 2021
Merged

Bug 1915467: cherry-pick hooks helpers and config observer#986
openshift-merge-robot merged 5 commits intoopenshift:release-4.6from
bertinatto:secret-46

Conversation

@bertinatto
Copy link
Copy Markdown
Member

Originally this was a backport of #976.

However, that PR relied on functionality added by PRs #968 and #909, so those had to be backported as well.

CC @openshift/storage

Some CSI Drivers need to be given a cluster ID
so that they can tag volumes and snapshots they create.
This is done so that the installer can filter those
resources out and delete them on cluster deletion.
Cloud CSI drivers perform all sorts of operations using the cloud API.
However, that's not possible in network-restricted clusters,
where requests need to go through a given proxy, unless they
target the API server.

This patch adds a CSI Config Observer controller to observe the proxy
resource and record the information in the operator CR. It also adds
a hook function to inject the observed proxy config into the
deployment's containers.
@openshift-ci-robot openshift-ci-robot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jan 28, 2021
@openshift-ci-robot
Copy link
Copy Markdown

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

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.6.z) matches configured target release for branch (4.6.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 1898045 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA))
  • dependent Bugzilla bug 1898045 targets the "4.7.0" release, which is one of the valid target releases: 4.7.0
  • bug has dependents
Details

In response to this:

Bug 1915467: redeploy CSI Controller Deployment when secret changes

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.

@bertinatto
Copy link
Copy Markdown
Member Author

/hold
Manually testing to make sure this is a viable approach.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 28, 2021
@bertinatto bertinatto changed the title Bug 1915467: redeploy CSI Controller Deployment when secret changes Bug 1915467: cherry-pick hooks helpers and config observer Jan 28, 2021
@bertinatto
Copy link
Copy Markdown
Member Author

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 28, 2021
@bertinatto
Copy link
Copy Markdown
Member Author

/assign @deads2k

@jsafrane
Copy link
Copy Markdown
Contributor

jsafrane commented Feb 1, 2021

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2021
@deads2k
Copy link
Copy Markdown
Contributor

deads2k commented Feb 4, 2021

This change is contained to the storage bits of this library. I leave it up to the storage team to handle any communication that needs to happen to dependent components.

/approve

@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, deads2k, jsafrane

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 4, 2021
@openshift-merge-robot openshift-merge-robot merged commit 0e7715c into openshift:release-4.6 Feb 4, 2021
@openshift-ci-robot
Copy link
Copy Markdown

@bertinatto: 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 1915467 has not been moved to the MODIFIED state.

Details

In response to this:

Bug 1915467: cherry-pick hooks helpers and config observer

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-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants