From 443068424ff5deeaf62c69ec9f5958b5b5a84ed1 Mon Sep 17 00:00:00 2001 From: Arnaud Lemaire Date: Sun, 7 Jul 2019 23:44:19 +0200 Subject: [PATCH] [stable/unbound] add clusterIP --- stable/unbound/README.md | 1 + stable/unbound/templates/service.yaml | 3 +++ stable/unbound/values.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/stable/unbound/README.md b/stable/unbound/README.md index b4a4ae903bae..c47199f32a71 100644 --- a/stable/unbound/README.md +++ b/stable/unbound/README.md @@ -64,6 +64,7 @@ unbound.serverPort: 53 | ------------------------ | --------------------------- | | replicaCount | 1 | | externalIP | "" | +| clusterIP | "" | | unbound.image.repository | markbnj/unbound-docker | | unbound.image.tag | 0.1.0 | | unbound.image.pullPolicy | IfNotPresent | diff --git a/stable/unbound/templates/service.yaml b/stable/unbound/templates/service.yaml index 1743d22d5163..18d197ee6550 100644 --- a/stable/unbound/templates/service.yaml +++ b/stable/unbound/templates/service.yaml @@ -8,6 +8,9 @@ metadata: release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: + {{- if .Values.clusterIP }} + clusterIP: {{ .Values.clusterIP }} + {{- end }} {{- if .Values.externalIP }} externalIPs: - {{ .Values.externalIP }} diff --git a/stable/unbound/values.yaml b/stable/unbound/values.yaml index 11792410cc12..25f949e62d75 100644 --- a/stable/unbound/values.yaml +++ b/stable/unbound/values.yaml @@ -29,6 +29,8 @@ tolerations: [] affinity: {} +# clusterIP: + # Controls which IP address ranges unbound will allow queries from. # If you want to use unbound as an upstream for kube-dns, or allow other pods # to query the resolver directly, you'll at least need to allow the