Skip to content

Commit

Permalink
Update Refresh_EKS_AWS_Token.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hagay3 authored Jun 29, 2022
1 parent 612d5b7 commit 3348fba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Refresh_EKS_AWS_Token.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ Add the following mapping
* Set the environment variables according to `REMOTE_CLUSTER`
```
export namespace=default
export serverUrl=$(aws eks describe-cluster --name $TARGET_CLUSTER --output text --query cluster.endpoint)
export certificate=$(aws eks describe-cluster --name $TARGET_CLUSTER --output text --query cluster.certificateAuthority)
export clusterName=$TARGET_CLUSTER
export serverUrl=$(aws eks describe-cluster --name $REMOTE_CLUSTER --output text --query cluster.endpoint)
export certificate=$(aws eks describe-cluster --name $REMOTE_CLUSTER --output text --query cluster.certificateAuthority)
export clusterName=$REMOTE_CLUSTER
export region=$AWS_REGION
```

Expand Down

0 comments on commit 3348fba

Please sign in to comment.