kustomize-controller icon indicating copy to clipboard operation
kustomize-controller copied to clipboard

kubeconfig cluster.proxy-url is being ignored by kube client

Open gustavobini opened this issue 2 years ago • 0 comments

I was checking the remote cluster API with a target private cluster in GKE. I had setup a service proxy to connect from the flux cluster to the remote cluster, but it does not work as the cluster.proxy-url field in kubeconfig is being ignored by Flux.

I confirmed it by checking the https://github.com/fluxcd/pkg/blob/main/runtime/client/kubeconfig.go#L70 code.

Would it be possible to use proxy-url? I understand it might not be a small change since it's on the pkgs.

gustavobini avatar Dec 28 '23 13:12 gustavobini