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 4488a4b commit da92f69Copy full SHA for da92f69
internal/resource/statefulset.go
@@ -555,7 +555,7 @@ func (builder *StatefulSetBuilder) podTemplateSpec(previousPodAnnotations map[st
555
},
556
557
SecurityContext: &corev1.PodSecurityContext{
558
- FSGroup: &rabbitmqUID,
+ FSGroup: pointer.Int64(0),
559
RunAsUser: &rabbitmqUID,
560
561
ImagePullSecrets: builder.Instance.Spec.ImagePullSecrets,
internal/resource/statefulset_test.go
@@ -1307,7 +1307,7 @@ default_pass = {{ .Data.data.password }}
1307
rmqUID := int64(999)
1308
1309
expectedPodSecurityContext := &corev1.PodSecurityContext{
1310
- FSGroup: &rmqUID,
1311
RunAsUser: &rmqUID,
1312
}
1313
0 commit comments