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
Whenever I use kubelogin convert-kubeconfig -l azurecli the populated kubeconfig file contains an invalid field env: null. According to the kubeconfig documentation, this field is not optional, meaning that it should not be null but rather an empty object. The correct form would be env: {}. This causes an exception in our project when using the Kubernetes Python client (lightkube).
Whenever I use
kubelogin convert-kubeconfig -l azurecli
the populated kubeconfig file contains an invalid fieldenv: null
. According to the kubeconfig documentation, this field is not optional, meaning that it should not be null but rather an empty object. The correct form would beenv: {}
. This causes an exception in our project when using the Kubernetes Python client (lightkube).The issue is also raised in the lightkube repository: gtsystem/lightkube#39
To reproduce this bug, simply run:
afterward check your kubeconfig file:
If you search for
env:
, you will find the valuenull
.The text was updated successfully, but these errors were encountered: