Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): support auth through iam-authenticator, add example, Closes #306 #332

Merged
merged 7 commits into from
Sep 27, 2018

Conversation

cfellin1
Copy link
Contributor

No description provided.

//
// Create an API client for an AWS EKS cluster using IAM authentication
// Note: In order for this to work, you must set the environment
// variable AWS_PROFILE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,51 @@
/* eslint no-console:0 */
//
// Create an API client for an AWS EKS cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between this example and the one below?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, there should only be one. Versioning error.

@@ -0,0 +1,53 @@
/* eslint no-console:0 */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a link to this example from the README.md?

README.md Outdated
@@ -155,6 +155,8 @@ const client = new Client({ config: config.fromKubeconfig() });
log an error: [canary-controller.js](./examples/canary-controller.js)
* Create a `client` using basic-auth:
[basic-auth.js](./examples/basic-auth.js)
* Create a `client` using IAM authenticator and cmd auth:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe:

Create a `client` using IAM authenticator and cmd auth (works with EKS):

I'm trying to get EKS in there :)

@cfellin1 cfellin1 changed the title feat(auth): support auth through iam-authenticator, add example feat(auth): support auth through iam-authenticator, add example, Closes #306 Sep 27, 2018
@silasbw silasbw merged commit c06e7cf into godaddy:master Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants