kubectl/pkg/cmd/debug
Arda Güçlü e5fa47994b Not share process namespace if user explicitly disables it
This PR sets higher priority to the `share-processes` flag than
provided profile.

For example, if user tries to use copy-to debugging with restricted
profiling, share process namespace should be false if user explicitly
disables it via `--share-processes=false`.

Kubernetes-commit: 0e98533d1b7a4d2ebf414575ff81905933c31c63
2023-03-08 11:58:28 +03:00
..
debug.go kubectl debug: Use restClientGetter instead cmd.Factory 2023-02-13 13:16:35 +03:00
debug_test.go Not share process namespace if user explicitly disables it 2023-03-08 11:58:28 +03:00
profiles.go Not share process namespace if user explicitly disables it 2023-03-08 11:58:28 +03:00
profiles_test.go fix restricted debug profile 2023-02-09 19:22:52 -06:00