mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-23 02:23:53 +00:00
sc fixes
This commit is contained in:
parent
d67009d51b
commit
866039360c
1 changed files with 2 additions and 2 deletions
|
@ -416,8 +416,8 @@ func podSecurityContext(sc *SecurityContext, secCtxConf SecurityContextConfig, s
|
|||
if sc.FSGroup == nil {
|
||||
fsGroup = 1000
|
||||
// do the same for fsGroupChangePolicy but only if fsGroup is also set accordingly
|
||||
if sc.fsGroupChangePolicy == nil {
|
||||
FsGroupChangePolicy = "OnRootMismatch"
|
||||
if sc.FSGroupChangePolicy == nil {
|
||||
fsGroupChangePolicy = "OnRootMismatch"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue