diff --git a/tilt_modules/namespace/test/job-default-namespace.yaml b/tilt_modules/namespace/test/job-default-namespace.yaml index 45d587a192..8efb05ad23 100644 --- a/tilt_modules/namespace/test/job-default-namespace.yaml +++ b/tilt_modules/namespace/test/job-default-namespace.yaml @@ -6,8 +6,12 @@ spec: backoffLimit: 1 template: spec: + securityContext: + runAsNonRoot: true containers: - name: namespace-test-verify image: curlimages/curl + securityContext: + allowPrivilegeEscalation: false command: ["curl", "-fsSL", "http://namespace-test-busybox:8000/"] restartPolicy: Never \ No newline at end of file