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

remove obsolete mock driver #351

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

pohly
Copy link
Contributor

@pohly pohly commented Sep 27, 2021

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

The driver got replaced by an enhanced csi-driver-host-path.

Which issue(s) this PR fixes:
Fixes kubernetes-csi/csi-driver-host-path#247

Special notes for your reviewer:

"make test-sanity" will now check out the csi-driver-host-path source, build it
and run sanity testing as root. This is needed because in contrast to the mock
driver, the csi-driver-host-path actually does bind mounts.

Some special ways of testing a CSI driver (with credentials and different
endpoints) don't get tested anymore because csi-driver-host-path does not
support those modes of operation.

Does this PR introduce a user-facing change?:

The mock driver gets removed. https://github.com/kubernetes-csi/csi-driver-host-path should be used instead.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Sep 27, 2021
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 27, 2021
The driver got replaced by an enhanced csi-driver-host-path.

"make test-sanity" will now check out the csi-driver-host-path source, build it
and run sanity testing as root. This is needed because in contrast to the mock
driver, the csi-driver-host-path actually does bind mounts.

Some special ways of testing a CSI driver (with credentials and different
endpoints) don't get tested anymore because csi-driver-host-path does not
support those modes of operation.
@pohly pohly force-pushed the remove-mock-driver branch from 8a57e46 to a4185b3 Compare September 27, 2021 17:51
@xing-yang
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 27, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pohly, xing-yang

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

@k8s-ci-robot k8s-ci-robot merged commit 3f1ac79 into kubernetes-csi:master Sep 27, 2021
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. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

merge mock and hostpath driver
3 participants