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

[BUG] Kubeconfig overwrite adds null values #2

Closed
Stef16Robbe opened this issue Nov 7, 2024 · 0 comments
Closed

[BUG] Kubeconfig overwrite adds null values #2

Stef16Robbe opened this issue Nov 7, 2024 · 0 comments

Comments

@Stef16Robbe
Copy link
Owner

$ bat $HOME/.kube/config | yq
...
apiVersion: v1
kind: Config
clusters:
  - name: api-dev-com:6443
    cluster:
      server: https://api.dev.com:6443
      tls_server_name: null
      insecure_skip_verify: null
      certificate_authority: null
      certificate_authority_data: null
      proxy_url: null
      disable_compression: null
...

Should exclude these null values

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