You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i have a trouble when i create the kubeconfig for developers on my Macbook.
I have tried to create with 0.31 version, and 0.29.
kubectl-kc create
WARNING: This feature is only supported in kubernates v1.24 and later.
user name: developer
😸 Select:kubernetes-admin@kubernetes
🚀 Namespace: dev is selected.
CSR: developer create success
CSR: developer has been approved
😸 Select:admin
RoleBinding : developer-admin create success
Error: cluster configuration not found
Usage:
kubecm create [flags]
Examples:
Create new KubeConfig(experiment)
kubecm create
Create new KubeConfig(experiment) with flags
kubecm create --user test --namespace default --cluster-role view --context-name kind-kind
Flags:
--cluster-role string cluster role for user
--context-name string context name for kubeconfig
-h, --help help for create
-n, --namespace string namespace for user
--print-clean-up print clean up command
--user string user name for kubeconfig
Global Flags:
--config string path of kubeconfig (default "$HOME/.kube/config")
-m, --mac-notify enable to display Mac notification banner
-s, --silence-table enable/disable output of context table on successful config update
-u, --ui-size int number of list items to show in menu at once (default 4)
cluster configuration not found
Despite, i have kubeconfig that is working properly:
Hello,
i have a trouble when i create the kubeconfig for developers on my Macbook.
I have tried to create with 0.31 version, and 0.29.
Examples:
Create new KubeConfig(experiment)
kubecm create
Create new KubeConfig(experiment) with flags
kubecm create --user test --namespace default --cluster-role view --context-name kind-kind
Flags:
--cluster-role string cluster role for user
--context-name string context name for kubeconfig
-h, --help help for create
-n, --namespace string namespace for user
--print-clean-up print clean up command
--user string user name for kubeconfig
Global Flags:
--config string path of kubeconfig (default "$HOME/.kube/config")
-m, --mac-notify enable to display Mac notification banner
-s, --silence-table enable/disable output of context table on successful config update
-u, --ui-size int number of list items to show in menu at once (default 4)
cluster configuration not found
Despite, i have kubeconfig that is working properly:
certificate-authority-data: DATA+OMITTED
server: https://REDACTED:6443
name: kubernetes
contexts:
cluster: kubernetes
namespace: dev
user: kubernetes-admin
name: kubernetes-admin@kubernetes
current-context: kubernetes-admin@kubernetes
kind: Config
preferences: {}
users:
user:
client-certificate-data: REDACTED
client-key-data: REDACTED
The text was updated successfully, but these errors were encountered: