Skip to content

Commit

Permalink
Mark the CSI driver as non-attachable
Browse files Browse the repository at this point in the history
This CSI driver does not implement ControllerPublish CSI call.
The call is not used in Ephemeral volumes, still, explicit is better than
implicit.
  • Loading branch information
jsafrane committed Nov 4, 2021
1 parent 2a0c1b3 commit 9350fe2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ spec:
podInfoOnMount: true
# Always apply pod.spec.securityContext.fsGroup, autodetection does not work for Ephemeral volumes.
fsGroupPolicy: File
# This CSI driver does not implement ControllerPublish.
attachRequired: false
2 changes: 2 additions & 0 deletions pkg/generated/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9350fe2

Please sign in to comment.