Skip to content

Investigate impact of kubectl Auth changes in dapr CLI #1114

@mukundansundar

Description

@mukundansundar

Describe the proposal

There are a couple of warnings that can be seen in Azure auth and GCP auth for kubectl

// deprecated in v1.22, remove in v1.25
	warnOnce.Do(func() {
		klog.Warningf(`WARNING: the azure auth plugin is deprecated in v1.22+, unavailable in v1.26+; use https://github.com/Azure/kubelogin instead.
To learn more, consult https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins`)
	})
warnOnce.Do(func() {
		klog.Warningf(`WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.26+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke`)
	})

Additionally, in the next version of kubectl it seems that both Azure and GCP auth are removed.

On another note, the go-autorest package from Azure being used for auth is also being deprecated from March 31 2023.

This issue is to investigate the impact it will have in dapr CLI and also provide solutions for the same.

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions