ktunnel
ktunnel copied to clipboard
Ktunnel uses unexpected pods
If there are 2 deployments with the same prefix, ktunnel uses pods from unexpected deployments. For example, if there are deployments react1 and react11, then kubectl tunnel expose react1 will try to watch pods from react11 deployment.
I guess, that this is because of using prefix here https://github.com/omrikiei/ktunnel/blob/master/pkg/k8s/common.go#L224