connect_cluster
Generate and bind a KUBECONFIG to a specified ClusterRole for accessing and managing a Kubernetes cluster, with cluster-admin as the default role.
Instructions
Generates the KUBECONFIG for the managed cluster and binds it to the specified ClusterRole (default: cluster-admin).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cluster | Yes | The target cluster where the ServiceAccount will be created for the KUBECONFIG. | |
clusterRole | No | The ClusterRole defining permissions to access the cluster | cluster-admin |