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

[WIP] 🏃 control plane NSG does not open the SSH port by default. #433

Closed
wants to merge 1 commit into from

Conversation

jadarsie
Copy link
Contributor

Signed-off-by: Javier Darsie [email protected]

What this PR does / why we need it:
This PR takes care of item 1 from the list of requirements in #104

Change the default NSG rules so they are more restrictive, we don't want the NSG to ever be open to the whole internet

Please let me know if this is not what it was expected.

Which issue(s) this PR fixes:
Fixes part of #104

Release note:

Control plane NSG does not open the SSH port by default.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 10, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @jadarsie. Thanks for your PR.

I'm waiting for a kubernetes-sigs 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 10, 2020
@@ -40,8 +44,8 @@ verify_kind_version() {
fi

local kind_version
kind_version=$(kind version)
if ! [[ "${kind_version}" =~ ${MINIMUM_KIND_VERSION} ]]; then
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Found out that this is not quite working after I updated kind to v0.7.0

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jadarsie
To complete the pull request process, please assign justaugustus
You can assign the PR to them by writing /assign @justaugustus in a comment when ready.

The full list of commands accepted by this bot can be found 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 area/provider/azure Issues or PRs related to azure provider sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. labels Mar 10, 2020
@CecileRobertMichon
Copy link
Contributor

/assign @justaugustus

@justaugustus is this what you had in mind for #104?

@awesomenix
Copy link
Contributor

I would opt for making this as an option using feature gates, so customers(E2E and dev) can opt in to enable. Since API Server is technically open to the internet, i dont see any benefit of disabling SSH, agreed that it does remove an attach vector

@jadarsie jadarsie changed the title 🏃 control plane NSG does not open the SSH port by default. [WIP] 🏃 control plane NSG does not open the SSH port by default. Mar 19, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 19, 2020
@CecileRobertMichon
Copy link
Contributor

I think we should consider closing this until #165 is implemented

@CecileRobertMichon
Copy link
Contributor

I'm going to close this for now until Bastion hosts are implemented.

/close

@k8s-ci-robot
Copy link
Contributor

@CecileRobertMichon: Closed this PR.

In response to this:

I'm going to close this for now until Bastion hosts are implemented.

/close

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
Copy link
Contributor

@jadarsie: PR needs rebase.

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 needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants