Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hatchery/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
)

var (
trueVal = true

Check failure on line 32 in hatchery/pods.go

View workflow job for this annotation

GitHub Actions / golang-ci

var `trueVal` is unused (unused)

Check failure on line 32 in hatchery/pods.go

View workflow job for this annotation

GitHub Actions / golang-ci

var `trueVal` is unused (unused)
falseVal = false
)

Expand Down Expand Up @@ -368,7 +368,7 @@
var sideCarRunAsUser int64
var sideCarRunAsGroup int64
var hostToContainer = k8sv1.MountPropagationHostToContainer
var bidirectional = k8sv1.MountPropagationBidirectional
// var bidirectional = k8sv1.MountPropagationBidirectional
var envVars []k8sv1.EnvVar
// a null image indicates a dockstore app - always mount user volume
mountUserVolume := hatchApp.UserVolumeLocation != ""
Expand Down Expand Up @@ -491,7 +491,7 @@
{
MountPath: "/data",
Name: "shared-data",
MountPropagation: &bidirectional,
// MountPropagation: &hostToContainer,
},
{
MountPath: "/.gen3",
Expand Down Expand Up @@ -547,7 +547,7 @@
Name: "fuse-container",
Image: hatchConfig.Config.Sidecar.Image,
SecurityContext: &k8sv1.SecurityContext{
Privileged: &trueVal,
Privileged: &falseVal,
RunAsUser: &sideCarRunAsUser,
RunAsGroup: &sideCarRunAsGroup,
},
Expand Down
Loading