vcluster_kubeconfig
Export a virtual cluster's kubeconfig to a private temp file without altering your current context. Use the returned file path with other tools, then delete it.
Instructions
Export a vcluster kubeconfig without switching the caller's context.
Returns the path to a private (0600) temp file, not the contents, because it holds client credentials. Pass the path to other tools; delete it after use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| server | No | API server address to record, when the vcluster is reached via ingress or a load balancer rather than a port forward. | |
| insecure | No | ||
| namespace | No | ||
| kubeconfig_path | No |