Skip to content

Load config fails with env: null in users/user/exec section #637

@Lawouach

Description

@Lawouach

Hey there,

Client: 8.0.0a1
Server: Kubernetes 1.10.3
Provider: EKS

I created a cluster using eksctl and the generated kubeconf has the entry env: null under users/user/exec to which the client responds with:

ERROR:root:Invalid kube-config file. Expected key env in kube-config/users[name=iam-some-account@my-cluster.us-west-2.eksctl.io]/user/exec

When I remove the key entirely, it works nicely. When I fill the key with dictionary entries, it works too. I can only assume either env: null is invalid (then I will open a ticket on eksctl) or the client should support it.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions