kubectl -n kube-system get configmap aws-auth -o=yaml
Jump to navigation
Jump to search
apiVersion: v1 data: mapRoles: | - groups: - system:bootstrappers - system:nodes rolearn: arn:aws:iam::0987654321:role/YourRole-NodeInstanceRole username: system:node:{\{EC2PrivateDNSName}\} mapUsers: | - groups: - system:masters userarn: arn:aws:iam::0987654321:user/your_user2 kind: ConfigMap metadata: creationTimestamp: "2022-06-22T14:38:40Z" name: aws-auth namespace: kube-system resourceVersion: "190663" uid: ffcee67e-e22c-4ac3-be81-7037bb3bde32
See also[edit]
- AWS IAM Authenticator for Kubernetes:
aws-auth, kubectl edit -n kube-system configmap/aws-auth, eksctl create iamidentitymapping
,mapUsers:, mapRoles:, mapAccounts:
- ConfigMaps:
kubectl [ get | edit | describe | create | delete ] configmaps
,aws-auth
, Kustomize,kind: ConfigMap, ConfigMapRef, envFrom
Advertising: