Skip to content

Commit

Permalink
Use new authenticator URL
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Oct 12, 2018
1 parent 08bece4 commit 676d7bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ WORKDIR $EKSCTL
RUN make lint && make test && make build \
&& cp ./eksctl /out/usr/local/bin/eksctl

RUN go build ./vendor/github.com/heptio/authenticator/cmd/heptio-authenticator-aws \
&& cp ./heptio-authenticator-aws /out/usr/local/bin/heptio-authenticator-aws
RUN go build ./vendor/github.com/kubernetes-sigs/aws-iam-authenticator/cmd/aws-iam-authenticator \
&& cp ./aws-iam-authenticator /out/usr/local/bin/aws-iam-authenticator

RUN pip install --root=/out aws-mfa==0.0.12 awscli==1.15.40

Expand Down
4 changes: 2 additions & 2 deletions pkg/eks/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/aws/aws-sdk-go/service/sts"
"github.com/aws/aws-sdk-go/service/sts/stsiface"

"github.com/heptio/authenticator/pkg/token"
"github.com/kubernetes-sigs/aws-iam-authenticator/pkg/token"
"github.com/kubicorn/kubicorn/pkg/logger"

clientset "k8s.io/client-go/kubernetes"
Expand Down Expand Up @@ -206,7 +206,7 @@ func (c *ClientConfig) WithExecAuthenticator() *ClientConfig {
func (c *ClientConfig) WithEmbeddedToken() (*ClientConfig, error) {
clientConfigCopy := *c

gen, err := token.NewGenerator()
gen, err := token.NewGenerator(true)
if err != nil {
return nil, errors.Wrap(err, "could not get token generator")
}
Expand Down

0 comments on commit 676d7bd

Please sign in to comment.