From 1a7882e3e31f446fe2f240e9a527d60bf12731ff Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Mon, 15 Oct 2018 06:12:20 +0900 Subject: [PATCH] [kube-registry-proxy] expose on localhost only (#8238) * [kube-registry-proxy] expose on localhost only Signed-off-by: Tatsuyuki Ishi * Remove inactive maintainer Signed-off-by: Tatsuyuki Ishi --- incubator/kube-registry-proxy/Chart.yaml | 5 +---- incubator/kube-registry-proxy/README.md | 16 +++++++++------- .../kube-registry-proxy/templates/daemon.yaml | 1 + 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/incubator/kube-registry-proxy/Chart.yaml b/incubator/kube-registry-proxy/Chart.yaml index 82102e8fa9..ab34612858 100644 --- a/incubator/kube-registry-proxy/Chart.yaml +++ b/incubator/kube-registry-proxy/Chart.yaml @@ -1,8 +1,5 @@ name: kube-registry-proxy home: https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/registry -version: 0.2.2 +version: 0.3.0 appVersion: 0.4 description: Installs the kubernetes-registry-proxy cluster addon. -maintainers: -- name: Deis Team - email: engineering@deis.com diff --git a/incubator/kube-registry-proxy/README.md b/incubator/kube-registry-proxy/README.md index 8f4fe4b0e6..3d5b991cad 100644 --- a/incubator/kube-registry-proxy/README.md +++ b/incubator/kube-registry-proxy/README.md @@ -13,10 +13,12 @@ $ helm install --name my-release incubator/kube-registry-proxy ## Configuration -| Parameter | Description | Default | -|--------------------|-------------------------------------|----------------------------------------------| -| `image.repository` | The image repository to pull from | k8s.gcr.io/kube-registry-proxy | -| `image.tag` | The image tag to pull from | 0.4 | -| `image.pullPolicy` | Image pull policy | IfNotPresent | -| `registry.host` | The hostname of the target registry | "gcr.io" | -| `registry.port` | The port of the target registry | \ | +| Parameter | Description | Default | +|--------------------|--------------------------------------------|----------------------------------------------| +| `image.repository` | The image repository to pull from | k8s.gcr.io/kube-registry-proxy | +| `image.tag` | The image tag to pull from | 0.4 | +| `image.pullPolicy` | Image pull policy | IfNotPresent | +| `registry.host` | The hostname of the target registry | "gcr.io" | +| `registry.port` | The port of the target registry | \ | +| `hostPort` | The port to accept connections on the node | 5555 | +| `hostIP` | The interface address to bind on the node | 127.0.0.1 | diff --git a/incubator/kube-registry-proxy/templates/daemon.yaml b/incubator/kube-registry-proxy/templates/daemon.yaml index 30e377690c..fcfa4ea186 100644 --- a/incubator/kube-registry-proxy/templates/daemon.yaml +++ b/incubator/kube-registry-proxy/templates/daemon.yaml @@ -25,3 +25,4 @@ spec: ports: - containerPort: 80 hostPort: {{ default "5555" .Values.hostPort }} + hostIP: {{ default "127.0.0.1" .Values.hostIP }}