Skip to content

Commit ac2b15a

Browse files
committed
improved non-root user handling for the debug command, renamed the --auto-run-as-non-root debug command flag to --fallback-to-target-user
Signed-off-by: Kyle Quest <[email protected]>
1 parent af4bc42 commit ac2b15a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/k8s_nginx_cgr/manifest_nonrootc.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ spec:
1414
- containerPort: 8080
1515
hostPort: 8080
1616

17-
# kubectl apply -f manifest_nonroot.yaml
18-
# kubectl exec -it example-pod-nonroot -c example-container -- /bin/sh
19-
# kubectl attach -it example-pod-nonroot -c example-container
20-
# mint debug --runtime=k8s --namespace=default --pod=example-pod-nonroot --target=example-container
21-
# kubectl delete -f manifest_nonroot.yaml
17+
# kubectl apply -f manifest_nonrootc.yaml
18+
# kubectl exec -it example-pod-nonrootc -c example-container -- /bin/sh
19+
# kubectl attach -it example-pod-nonrootc -c example-container
20+
# mint debug --runtime=k8s --namespace=default --pod=example-pod-nonrootc --target=example-container
21+
# kubectl delete -f manifest_nonrootc.yaml

0 commit comments

Comments
 (0)