8000 kubeconfig parseerror · Issue #177 · joan38/kubernetes-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
kubeconfig parseerror #177
Open
Open
@rafhuys-klarrio

Description

@rafhuys-klarrio

My kubeconfig env value does not parse to Option[Map[String, String]] but to a list of KV tuples where the first key is name and the second is value.

- name: arn:aws:eks:...:cluster/test
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args: ...
      env:
      - name: AWS_PROFILE
        value: test

To make this library work, I need to change my (generated) kubeconfig to

      args: ...
      env:
        AWS_PROFILE: test

How do you cope with this? Is there a Circe flag I can use for this to be parsed correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0