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

Configuration to specify no SSH key #7096

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

austinmoore-
Copy link
Contributor

@austinmoore- austinmoore- commented Jun 5, 2019

Exposes configuration to allow a user to not specify an SSH key on an instance by setting sshKeyName: "".

Docs

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 5, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @austinmoore-. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 5, 2019
@austinmoore- austinmoore- changed the title No SSH key configuration Configuration to specify no SSH key Jun 5, 2019
@austinmoore-
Copy link
Contributor Author

/assign @geojaz

@geojaz
Copy link
Member

geojaz commented Jun 6, 2019

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 6, 2019
@chrisz100
Copy link
Contributor

@austinmoore- could you please look into the rebase issue? Thank you!

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 12, 2019
@austinmoore-
Copy link
Contributor Author

Rebased on master

@granular-ryanbonham
Copy link
Contributor

/retest

@austinmoore-
Copy link
Contributor Author

/retest

@austinmoore- austinmoore- force-pushed the no-ssh-key branch 2 times, most recently from 5c21106 to 685e01f Compare September 12, 2019 22:25
Copy link
Contributor

@rdrgmnzs rdrgmnzs left a comment

Choose a reason for hiding this comment

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

One NIT comment otherwise things look good.

_ "github.com/gogo/protobuf/gogoproto"

errors "errors"

Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason for the blank line between each import being added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No reason. Not sure why it got formatted this way but I'll clean it up

@austinmoore-
Copy link
Contributor Author

@rdrgmnzs How does it look?

@michaelajr
Copy link

Really hoping to get this merged for the next release. Any chance this will make it? @rdrgmnzs @chrisz100

@austinmoore-
Copy link
Contributor Author

Rebased onto master

@michaelajr
Copy link

@rdrgmnzs @chrisz100 @granular-ryanbonham hoping to get this merged for the next release. Can you (or someone) take a look?

@rifelpet
Copy link
Member

@austinmoore- can you please rebase and fix the conflict? Once we get this up to date I'm hoping we can get it merged soon. thanks!

@austinmoore-
Copy link
Contributor Author

austinmoore- commented Oct 28, 2019

@rifelpet Rebased (fixing tests)

@austinmoore-
Copy link
Contributor Author

/test pull-kops-e2e-kubernetes-aws

I think this might be a flake

@austinmoore-
Copy link
Contributor Author

/test pull-kops-e2e-kubernetes-aws

Got different test failures this time so trying again

@austinmoore-
Copy link
Contributor Author

/test pull-kops-e2e-kubernetes-aws

Jobs are finally passing, so lets try this again

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 22, 2019
@xunliu
Copy link

xunliu commented Jan 14, 2020

@austinmoore- We really need this feature.
Excuse me, Can you merged this feature into the 1.15 branch?

@rifelpet
Copy link
Member

@austinmoore apologies for the continued delay. Do you think you could rebase this one final time? I can work on getting this reviewed and merged ASAP.

@austinmoore
Copy link

@austinmoore apologies for the continued delay. Do you think you could rebase this one final time? I can work on getting this reviewed and merged ASAP.

I think you meant to write to @austinmoore- (see "-" on the end of his user name).

@rifelpet
Copy link
Member

Oops, sorry about that :)

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2020
@rifelpet
Copy link
Member

@austinmoore- looks great, thanks for sticking with it. If you can squash these commits then I think its ready to merge.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: austinmoore-, rifelpet

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 15, 2020
Add tests for no ssh key functionality

Add docs for setting no ssh key

Disable sshKey rendering for cloudformation if nosshkey is set

Fix broken test

make goimports

Fix

Formatting fix

Update kubernetes version for tests

Update expected test output

Fix imports in mesh.pb.go

Run hack/update-expected.sh

Change digital ocean logic to handle *string for SSHKeyName

Fix expected output

Missed a few
@rifelpet
Copy link
Member

/lgtm
🎉

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 15, 2020
@k8s-ci-robot k8s-ci-robot merged commit dbfd7f1 into kubernetes:master Jan 15, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Jan 15, 2020
@austinmoore- austinmoore- deleted the no-ssh-key branch January 15, 2020 21:27
k8s-ci-robot added a commit that referenced this pull request Jan 16, 2020
…96-upstream-release-1.17

Automated cherry pick of #7096: Add ability to specify no ssh key by setting sshKeyName to
k8s-ci-robot added a commit that referenced this pull request Jan 17, 2020
…96-upstream-release-1.16

Automated cherry pick of #7096: Add ability to specify no ssh key by setting sshKeyName to
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. 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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants