Skip to content

cannot unmarshal number into Go struct field NamedAuthInfo.users.name of type string #103

@bain2018

Description

@bain2018

App Version 3.1.1
Arch: arm64
Platform: darwin
osRelease: 24.5.0
Locale: en-GB

error: error loading config file "/var/folders/x1/5kym2fgj101b8t1499rp9d3c0000gn/T/b2da9d97-b6a9-5cc9-aa41-68eda9c0aa0f_k8config.yml": json: cannot unmarshal number into Go struct field NamedAuthInfo.users.name of type string

=======

apiVersion: v1
clusters:
- cluster:
    server: https://:6443
    certificate-authority-data: 
  name: kubernetes
contexts:
- context:
    cluster: kubernetes
    user: "279979740599990001"
  name: cia
current-context: 279979740599990001-c7cb724d3e0444bedb949733a3d96fe60
kind: Config
preferences: {}
users:
- name: "279979740599990001" # here is string ,right?
  user:
    client-certificate-data: 
    client-key-data: 

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