Skip to content

Commit

Permalink
Merge pull request #19 from jsafrane/fix-fsgroup
Browse files Browse the repository at this point in the history
BUILD-277: Fix fsGroup handling
  • Loading branch information
openshift-merge-robot committed Nov 4, 2021
2 parents 3ebefd3 + 9350fe2 commit 665e497
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion assets/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ spec:
# To determine at runtime which mode a volume uses, pod info and its
# "csi.storage.k8s.io/ephemeral" entry are needed.
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
1 change: 1 addition & 0 deletions pkg/dependencymagnet/dependencymagnet.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

package dependencymagnet
Expand Down
5 changes: 4 additions & 1 deletion 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 665e497

Please sign in to comment.