-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Turned-off etcd listening on public ports as potentially insecure. #35192
Turned-off etcd listening on public ports as potentially insecure. #35192
Conversation
@@ -37,7 +37,7 @@ | |||
"command": [ | |||
"/bin/sh", | |||
"-c", | |||
"if [ -e /usr/local/bin/migrate-if-needed.sh ]; then /usr/local/bin/migrate-if-needed.sh; fi; /usr/local/bin/etcd --name etcd-{{ hostname }} --listen-peer-urls http://{{ hostname }}:{{ server_port }} --initial-advertise-peer-urls http://{{ hostname }}:{{ server_port }} --advertise-client-urls http://127.0.0.1:{{ port }} --listen-client-urls http://127.0.0.1:{{ port }} --data-dir /var/etcd/data{{ suffix }} --initial-cluster-state {{ cluster_state }} --initial-cluster {{ etcd_cluster }} 1>>/var/log/etcd{{ suffix }}.log 2>&1" | |||
"if [ -e /usr/local/bin/migrate-if-needed.sh ]; then /usr/local/bin/migrate-if-needed.sh; fi; /usr/local/bin/etcd --listen-peer-urls http://127.0.0.1:{{ server_port }} --advertise-client-urls http://127.0.0.1:{{ port }} --listen-client-urls http://127.0.0.1:{{ port }} --data-dir /var/etcd/data{{ suffix }} 1>>/var/log/etcd{{ suffix }}.log 2>&1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you leave "--name" flag? This is useful also for etcd3 and I don't think it breaks anything itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Turn-off etcd listining on public ports as potentially insecure. Removed experimental support for master replication.
128ab5e
to
939a108
Compare
PTAL |
@jessfraz This PR is needed to fix vulnerability in 1.4 where we started listening on public network interface without using SSL. |
lgtm |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Jenkins GCE etcd3 e2e failed for commit 939a108. Full PR test history. The magic incantation to run this job again is |
Commit found in the "release-1.4" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Part of kubernetes/enhancements#48 |
Automatic merge from submit-queue Turned-off etcd listening on public ports as potentially insecure. ```release-note Turned-off etcd listening on public ports as potentially insecure. Removed experimental support for master replication. ``` Turned-off etcd listening on public ports as potentially insecure. Removed experimental support for master replication.
Turned-off etcd listening on public ports as potentially insecure. Removed
experimental support for master replication.
This change is