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

client exec auth: updates for 1.11 #8932

Closed

Conversation

ericchiang
Copy link
Contributor

@ericchiang ericchiang commented Jun 5, 2018

@k8s-ci-robot k8s-ci-robot requested a review from awly June 5, 2018 23:24
@k8sio-netlify-preview-bot
Copy link
Collaborator

Deploy preview for kubernetes-io-vnext-staging processing.

Built with commit 19dbe40

https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/5b171ba5b13fb15e151d1d9d

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 5, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: steveperry-53

Assign the PR to them by writing /assign @steveperry-53 in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 5, 2018
@k8sio-netlify-preview-bot
Copy link
Collaborator

Deploy preview for kubernetes-io-vnext-staging processing.

Built with commit 19dbe40

https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/5b171ba58df8940831d5e731

@awly
Copy link
Contributor

awly commented Jun 5, 2018

This somewhat overlaps with #8826
I can drop that PR if you'd like to update all in one go.

@ericchiang
Copy link
Contributor Author

ericchiang commented Jun 5, 2018 via email

@mdlinville mdlinville added this to the 1.11 milestone Jun 7, 2018
@mdlinville
Copy link
Contributor

/assign @zacharysarah

Copy link
Contributor

@zacharysarah zacharysarah left a comment

Choose a reason for hiding this comment

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

@ericchiang 👋 I left some feedback but there are some merge conflicts that may affect this review. Please resolve the merge conflicts then @mention me for a follow-up. 👍

}
}'
```
The executed command is expected to print an `ExceCredential` object to `stdout`. `k8s.io/client-go`
Copy link
Contributor

Choose a reason for hiding this comment

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

Replace lines 753-754 with:

The executed command prints an `ExecCredential` object to `stdout`. `k8s.io/client-go`
authenticates against the Kubernetes API using the returned credentials in the `status`. 


When plugins are executed from an interactive session, `stdin` and `stderr` are directly
exposed to the plugin so it can prompt the user for input for interactive logins.
When run from an interactive session `stdin` is exposed directly to the plugin. Plugins should use a
Copy link
Contributor

Choose a reason for hiding this comment

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

Replaces lines 756-758 with:

When run from an interactive session, `stdin` is exposed directly to the plugin. Plugins should use a
[TTY check](https://godoc.org/golang.org/x/crypto/ssh/terminal#IsTerminal) to determine if it's
appropriate to prompt a user interactively.

@zacharysarah
Copy link
Contributor

@ericchiang Bump

@awly
Copy link
Contributor

awly commented Jun 19, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 19, 2018
@liggitt
Copy link
Member

liggitt commented Jun 19, 2018

closing in favor of rebased version in #9154

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants