We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a755ae commit e0d14eeCopy full SHA for e0d14ee
pkg/controller/perconaservermongodbrestore/physical_test.go
@@ -126,7 +126,7 @@ func TestUpdateStatefulSetForPhysicalRestoreSecurityContext(t *testing.T) {
126
ctx := context.Background()
127
128
nonRoot := true
129
- noPrivEsc := false
+ allowPrivEsc := false
130
cluster := &psmdbv1.PerconaServerMongoDB{
131
ObjectMeta: metav1.ObjectMeta{
132
Name: "my-cluster",
@@ -144,7 +144,7 @@ func TestUpdateStatefulSetForPhysicalRestoreSecurityContext(t *testing.T) {
144
},
145
InitContainerSecurityContext: &corev1.SecurityContext{
146
RunAsNonRoot: &nonRoot,
147
- AllowPrivilegeEscalation: &noPrivEsc,
+ AllowPrivilegeEscalation: &allowPrivEsc,
148
149
150
}
0 commit comments