Skip to content

Commit

Permalink
Replaced aws-iam-authenticator with aws cli; Bumped prime-pipeline ve…
Browse files Browse the repository at this point in the history
…rsion from 0.6.9 to 0.6.10 (#436)
  • Loading branch information
SEQUOIIA authored Feb 25, 2022
1 parent 93eb78f commit d32e78b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions _sub/compute/eks-heptio/kubeconfig-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ users:
user:
exec:
apiVersion: client.authentication.k8s.io/v1alpha1
command: aws-iam-authenticator
command: aws
args:
- "token"
- "-i"
- "eks"
- "get-token"
- "--cluster-name"
- "${cluster_name}"
- "-r"
- "--role-arn"
- "${role_arn}"
2 changes: 1 addition & 1 deletion azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ schedules:
resources:
containers:
- container: prime
image: dfdsdk/prime-pipeline:0.6.9
image: dfdsdk/prime-pipeline:0.6.10
env:
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
ARM_CLIENT_SECRET: $(ARM_CLIENT_SECRET)
Expand Down
9 changes: 5 additions & 4 deletions compute/eks-ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ provider "kubernetes" {

exec {
api_version = "client.authentication.k8s.io/v1alpha1"
command = "aws-iam-authenticator"
command = "aws"
args = [
"token",
"-i",
"eks",
"get-token",
"--cluster-name",
var.eks_cluster_name,
"-r",
"--role-arn",
var.aws_assume_role_arn,
]
}
Expand Down
2 changes: 1 addition & 1 deletion compute/eks-ec2/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ terraform {
}

tls = {
source = "hashicorp/tls"
source = "hashicorp/tls"
version = "~> 3.1.0"
}

Expand Down

0 comments on commit d32e78b

Please sign in to comment.