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

BUILD-277: Fix fsGroup handling #19

Merged
merged 2 commits into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.