kubernetes / kubernetes/kubectl

Expose all auth-provider config keys

Open
#1,093 22 comments 5 reactions 1 assignee Claimed by @mpuckett159 View on GitHub
kind/feature lifecycle/rotten needs-triage priority/backlog
Dominant language
Go
Stars
3.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

`kubectl config unset users.foo.auth-provider.azure.refresh-token` dies with "error: unable to parse one or more field values" because `pkg/cmd/config/navigation_step_parser.go` cannot deal with pointers and `*AuthProviderConfig` is one.

**What would you like to be added**:

Allow `kubectl config` to un/set any field in the YAML, particularly `auth-provider` settings.

**Why is this needed**:

When giving people access to a cluster it is often necessary to deal with authentication issues, and sending them command lines is easier for everybody than instructions on how to edit the kubeconfig by hand.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.