Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid type when loading null values from config when clusters is null #171

Open
giggio opened this issue Sep 22, 2023 · 0 comments
Open

Comments

@giggio
Copy link

giggio commented Sep 22, 2023

I have several config files, and the following ~/.kube/config:

apiVersion: v1
clusters: null
contexts: null
current-context: cluster1
kind: Config
preferences: {}
users: null

Kubie fails with:

Error loading kubeconfig /home/user/.kube/config: clusters: invalid type: unit value, expected a sequence at line 2 column 11
Error: Could not find any contexts in the Kubie kubeconfig directories!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant