Skip to content

Commit

Permalink
lock-down crio stream-address to localhost-only for kubelet proxying (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SpComb authored and jakolehm committed Aug 14, 2018
1 parent e97e0cb commit 64167a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/pharos/host/el7/el7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def configure_container_runtime
exec_script(
'configure-cri-o.sh',
CRIO_VERSION: Pharos::CRIO_VERSION,
CRIO_STREAM_ADDRESS: host.peer_address,
CRIO_STREAM_ADDRESS: '127.0.0.1',
CPU_ARCH: host.cpu_arch.name,
IMAGE_REPO: cluster_config.image_repository
)
Expand Down
2 changes: 1 addition & 1 deletion lib/pharos/host/ubuntu/ubuntu_bionic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def configure_container_runtime
exec_script(
'configure-cri-o.sh',
CRIO_VERSION: Pharos::CRIO_VERSION,
CRIO_STREAM_ADDRESS: host.peer_address,
CRIO_STREAM_ADDRESS: '127.0.0.1',
CPU_ARCH: host.cpu_arch.name,
IMAGE_REPO: cluster_config.image_repository
)
Expand Down
2 changes: 1 addition & 1 deletion lib/pharos/host/ubuntu/ubuntu_xenial.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def configure_container_runtime
exec_script(
'configure-cri-o.sh',
CRIO_VERSION: Pharos::CRIO_VERSION,
CRIO_STREAM_ADDRESS: host.peer_address,
CRIO_STREAM_ADDRESS: '127.0.0.1',
CPU_ARCH: host.cpu_arch.name,
IMAGE_REPO: cluster_config.image_repository
)
Expand Down

0 comments on commit 64167a7

Please sign in to comment.