Skip to content

Commit

Permalink
Removing dependency on Authenticator binary (awslabs#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeer91 authored Mar 27, 2020
1 parent ff69078 commit 4e0e916
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 9 additions & 5 deletions files/kubelet-kubeconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ users:
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
command: /usr/bin/aws-iam-authenticator
command: aws
env:
- name: AWS_STS_REGIONAL_ENDPOINTS
value: regional
args:
- "token"
- "-i"
- "CLUSTER_NAME"
- eks
- --region
- "AWS_REGION"
- "AWS_REGION"
- get-token
- --cluster-name
- "CLUSTER_NAME"
1 change: 0 additions & 1 deletion scripts/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ S3_PATH="s3://$BINARY_BUCKET_NAME/$KUBERNETES_VERSION/$KUBERNETES_BUILD_DATE/bin

BINARIES=(
kubelet
aws-iam-authenticator
)
for binary in ${BINARIES[*]} ; do
if [[ ! -z "$AWS_ACCESS_KEY_ID" ]]; then
Expand Down

0 comments on commit 4e0e916

Please sign in to comment.