Skip to content

Commit

Permalink
Fix dataplane sidecar test for webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
missylbytes committed Jun 27, 2024
1 parent bfe7be8 commit 1b74985
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,11 @@ func TestHandlerConsulDataplaneSidecar_withSecurityContext(t *testing.T) {
tproxyEnabled: false,
openShiftEnabled: true,
expSecurityContext: &corev1.SecurityContext{
RunAsUser: pointer.Int64(1000700000),
RunAsGroup: pointer.Int64(1000700000),
RunAsNonRoot: pointer.Bool(true),
ReadOnlyRootFilesystem: pointer.Bool(true),
AllowPrivilegeEscalation: pointer.Bool(false),
Capabilities: &corev1.Capabilities{
Add: []corev1.Capability{"NET_BIND_SERVICE"},
},
Expand Down

0 comments on commit 1b74985

Please sign in to comment.