Skip to content

Refactor external-attacher to use csi-lib-utils/rpc#127

Merged
k8s-ci-robot merged 2 commits intokubernetes-csi:masterfrom
MorrisLaw:consistent-sidecars
Mar 7, 2019
Merged

Refactor external-attacher to use csi-lib-utils/rpc#127
k8s-ci-robot merged 2 commits intokubernetes-csi:masterfrom
MorrisLaw:consistent-sidecars

Conversation

@MorrisLaw
Copy link
Copy Markdown
Contributor

This PR makes use of the new csi-lib-utils/rpc package.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 2, 2019
@k8s-ci-robot k8s-ci-robot requested review from msau42 and saad-ali March 2, 2019 03:25
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 2, 2019
@MorrisLaw
Copy link
Copy Markdown
Contributor Author

@andrewsykim

@MorrisLaw MorrisLaw changed the title Consistent sidecars refactor external-attacher to use csi-lib-utils/rpc Mar 2, 2019
@MorrisLaw MorrisLaw changed the title refactor external-attacher to use csi-lib-utils/rpc Refactor external-attacher to use csi-lib-utils/rpc Mar 2, 2019
@MorrisLaw MorrisLaw force-pushed the consistent-sidecars branch from 4ad0038 to 4f31d57 Compare March 2, 2019 03:48
Comment thread pkg/attacher/connection.go
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection_test.go
Comment thread pkg/attacher/connection.go Outdated
Comment thread pkg/attacher/connection.go Outdated
@jsafrane
Copy link
Copy Markdown
Contributor

jsafrane commented Mar 4, 2019

There is something missing in this PR, I see it removes Probe and GetControllerCapabilities from connection.go, but it does not start using the ones from csi-lib-util.

Comment thread pkg/attacher/connection.go
@andrewsykim
Copy link
Copy Markdown
Contributor

andrewsykim commented Mar 4, 2019

There is something missing in this PR, I see it removes Probe and GetControllerCapabilities from connection.go, but it does not start using the ones from csi-lib-util.

It was removed from the interface but it was still implemented by CSIConnection. @MorrisLaw is fixing that now so we just call Probe and GetControllerCapabilities directly from rpc package.

@MorrisLaw MorrisLaw force-pushed the consistent-sidecars branch from c79a812 to 721f0ad Compare March 7, 2019 01:56
@MorrisLaw MorrisLaw force-pushed the consistent-sidecars branch from 721f0ad to 158f000 Compare March 7, 2019 02:08
@andrewsykim
Copy link
Copy Markdown
Contributor

/lgtm

Thanks @MorrisLaw!

/assign @msau42 @jsafrane
for approval

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 7, 2019
@jsafrane
Copy link
Copy Markdown
Contributor

jsafrane commented Mar 7, 2019

I still don't like interface named Attacher, but I did not find a better name. So...

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsafrane, MorrisLaw

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2019
@k8s-ci-robot k8s-ci-robot merged commit 1573881 into kubernetes-csi:master Mar 7, 2019
@MorrisLaw MorrisLaw deleted the consistent-sidecars branch March 8, 2019 01:24
pohly added a commit to pohly/external-attacher that referenced this pull request Jan 26, 2021
1d60e779 Merge pull request kubernetes-csi#131 from pohly/kubernetes-1.20-tag
9f104590 prow.sh: support building Kubernetes for a specific version
fe1f2848 Merge pull request kubernetes-csi#121 from kvaps/namespace-check
8fdf0f78 Merge pull request kubernetes-csi#128 from fengzixu/master
1c94220d fix: fix a bug of csi-sanity
a4c41e6a Merge pull request kubernetes-csi#127 from pohly/fix-boilerplate
ece0f500 check namespace for snapshot-controller
dbd89672 verify-boilerplate.sh: fix path to script
9289fd16 Merge pull request kubernetes-csi#125 from sachinkumarsingh092/optional-spelling-boilerplate-checks
ad29307f Make the spelling and boilerplate checks optional
5f06d024 Merge pull request kubernetes-csi#124 from sachinkumarsingh092/fix-spellcheck-boilerplate-tests
48186eba Fix spelling and boilerplate errors
71690aff Merge pull request kubernetes-csi#122 from sachinkumarsingh092/include-spellcheck-boilerplate-tests
981be3fe Adding spelling and boilerplate checks.
2bb75253 Merge pull request kubernetes-csi#117 from fengzixu/master
3b6d17b1 Merge pull request kubernetes-csi#118 from pohly/cloud-build-timeout
9318c6cc cloud build: double the timeout, now 1 hour
4ab8b154 use the tag to replace commit of csi-test
5d74e455 change the csi-test import path to v4
7dcd0a99 upgrade csi-test to v4.0.2
86ff5802 Merge pull request kubernetes-csi#116 from andyzhangx/export-image-name
c3a96625 allow export image name and registry name

git-subtree-dir: release-tools
git-subtree-split: 1d60e7792624a9938c0bd1b045211fbb89e513d6
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants