Problem
It works when I try kubectl whoami --all command to AWS EKS cluster via aws-iam-authenticator default authentication method.
It doesn't work when I try kubectl whoami --all command to AWS EKS cluster via different OIDC Identity Provider authentication. In my case, I tried with Okta OIDC identity provider. The output is same with kubectl whoami command.
Problem
It works when I try
kubectl whoami --allcommand to AWS EKS cluster viaaws-iam-authenticatordefault authentication method.It doesn't work when I try
kubectl whoami --allcommand to AWS EKS cluster via different OIDC Identity Provider authentication. In my case, I tried with Okta OIDC identity provider. The output is same withkubectl whoamicommand.