Boundary connect kube - How do I run "kubectl get nodes"?

Hey Jeff,

So now that I’m connected to kubernetes.

How would I go about limiting this specific user to only running commands within a specific namespace?

Are kuberentes roles set in the Grants, or do I have to pass in a –kubeconfig=<path to .conf file for the cluster> argument, while somehow preventing users from using kube connect without a kubeconfig argument?
boundary connect kube -target-id ttcp_t12345 -- get nodes
boundary connect kube -target-id ttcp_t12345 -- --kubeconfig=~/admin.conf get nodes

1 Like