-
Notifications
You must be signed in to change notification settings - Fork 303
Forked pod doesn't copy pod's labels #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
kubectl-debug/pkg/plugin/cmd.go Lines 558 to 566 in 5021027
is there some reson to strip the labels? |
For this scenario I think user should be able to retain certain labels while forking, this can be simply implemented by adding extra command parameters to the debug command. However, this makes the UX more complicated, so I am wondering if there is any better idea. |
maybe adding a command parameter is a good solution. If there is no better way, I can do this work. |
fixed in #69 |
closed via #69 |
I have a scenario that I'm using Azure MSI and aad-pod-identity to assign identities to pods (in order to retrieve credentials for several azure services). The way this integration works is by assigning a label to the pods.
When I use the fork feature it doesn't copy any of the original labels and it causes the pod to fail before the point I need to debug.
As I see it, fork should copy the labels of the original pod.
The text was updated successfully, but these errors were encountered: