We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e06397d commit d04ff0aCopy full SHA for d04ff0a
pkg/k8s/security_context.go
@@ -14,11 +14,12 @@ func defaultPodSecurityContext() *corev1.PodSecurityContext {
14
return nil
15
}
16
runAsUser := int64(1001)
17
- runAsGroup := int64(1002)
+ runAsGroup := int64(0) // Match Tekton buildpack task group
18
+ fsGroup := int64(1002) // Keep FSGroup for volume ownership
19
return &corev1.PodSecurityContext{
20
RunAsUser: &runAsUser,
21
RunAsGroup: &runAsGroup,
- FSGroup: &runAsGroup,
22
+ FSGroup: &fsGroup,
23
24
25
0 commit comments