Difference between revisions of "Aws-auth configMap"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 10: | Line 10: | ||
== Terraform == | == Terraform == | ||
* [[Terraform EKS module]]: <code>[[create_aws_auth_configmap]]</code> | * [[Terraform EKS module]]: <code>[[create_aws_auth_configmap]]</code> | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[The SSO session associated with this profile has expired or is otherwise invalid. To refresh this SSO session run aws sso login with the corresponding profile.]]</code> | ||
== Related == | == Related == | ||
Line 15: | Line 18: | ||
* <code>[[Your current user or role does not have access to Kubernetes objects on this EKS cluster]]</code> | * <code>[[Your current user or role does not have access to Kubernetes objects on this EKS cluster]]</code> | ||
* [[EKS single sign-on using AWS SSO]] | * [[EKS single sign-on using AWS SSO]] | ||
− | |||
* <code>[[aws_auth_roles]]</code> | * <code>[[aws_auth_roles]]</code> | ||
* [[Amazon EKS authorization]] | * [[Amazon EKS authorization]] |
Revision as of 18:52, 20 March 2023
AWS IAM Authenticator for Kubernetes get information from aws-auth
ConfigMap.
https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html
Contents
Examples
kubectl edit -n kube-system configmap/aws-auth
kubectl describe -n kube-system configmap/aws-auth
kubectl -n kube-system get configmap aws-auth -o=yaml
Terraform
Errors
Related
eksct create iamidentitymapping
Your current user or role does not have access to Kubernetes objects on this EKS cluster
- EKS single sign-on using AWS SSO
aws_auth_roles
- Amazon EKS authorization
eksctl get iamidentitymapping --cluster your-eks-cluster
Error: getting auth ConfigMap: Unauthorized
kind: ClusterRole
HelmRoleArn
andKubernetesRoleArn
system:masters, system:serviceaccount:
See also
- AWS IAM Authenticator for Kubernetes:
aws-auth, kubectl edit -n kube-system configmap/aws-auth, eksctl create iamidentitymapping
,mapUsers:, mapRoles:, mapAccounts:
- Terraform EKS module:
manage_aws_auth_configmap, create_aws_auth_configmap, aws_auth_roles, aws_auth_users, aws_auth_accounts, module.eks, Amazon EKS Blueprints for Terraform, OIDC
- EKS RBAC, Amazon EKS authentication, Amazon EKS authorization,
aws eks get-token, aws-auth ConfigMap, aws-iam-authenticator, eksctl create iamidentitymapping, eksctl get iamidentitymapping, eks:AccessKubernetesApi, eks-connector
, K8s Cluster roles,AmazonEKSAdminPolicy
,AmazonEKSClusterAdminPolicy
Advertising: