CSI pod information in NodePublish#67945
Conversation
3803f67 to
94aa1e9
Compare
94aa1e9 to
794ac4f
Compare
794ac4f to
102f357
Compare
|
@saad-ali I have rebased this against master. PTAL. |
102f357 to
1eff25e
Compare
|
/assign @liggitt for the small auth change |
|
lgtm too. |
|
/approve |
|
re-adding |
85778fd to
a517197
Compare
|
/test pull-kubernetes-e2e-kops-aws |
|
/lgtm |
|
/test pull-kubernetes-kubemark-e2e-gce-big |
|
/milestone v1.12 |
Nodes need to watch CSIDrivers to know if they should send pod information in NodePublish.
a517197 to
f2bc681
Compare
Some refactoring of CSI tests was necessary.
f2bc681 to
32ae639
Compare
|
LGTM'ing rebase /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: childsb, jsafrane, liggitt, saad-ali The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Automatic merge from submit-queue (batch tested with PRs 68171, 67945, 68233). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. |
What this PR does / why we need it:
This is implementation of kubernetes/community#2439. It brings CSI closer to Flex volume features, CSI driver can (optionally) get name/namespace/UID/ServiceAccount of the pod that requires the CSI volume mounted. This allows CSI drivers to either do AAA before the volume is mounted or tailor content of volume to the pod.
Work in progress:
CSIDriverAPI. Ignore the first commit.Related to #64984 #66362 (fixes only part of these issues)
/sig storage
cc: @saad-ali @vladimirvivien @verult @msau42 @gnufied
Release note: