[stable/unbound] add clusterIP (#15304)

* [stable/unbound] add clusterIP

Signed-off-by: Arnaud Lemaire <alemaire@norad.fr>

* [unbound] fix exechealthz container & deploy app/v1

Signed-off-by: Arnaud Lemaire <alemaire@norad.fr>
This commit is contained in:
Arnaud Lemaire
2019-11-17 02:05:40 -08:00
committed by Kubernetes Prow Robot
parent 59a0b8c120
commit 1fd5cd5d47
5 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: Unbound is a fast caching DNS resolver
home: https://www.unbound.net/
name: unbound
version: 1.0.0
version: 1.1.0
appVersion: 1.6.7
sources:
- http://unbound.nlnetlabs.nl/svn/
+1
View File
@@ -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 |
+1 -1
View File
@@ -1,4 +1,4 @@
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "unbound.fullname" . }}
+3
View File
@@ -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 }}
+3 -1
View File
@@ -17,7 +17,7 @@ unbound:
# https://github.com/kubernetes/contrib/tree/master/exec-healthz
healthz:
image:
repository: googlecontainer/exechealthz
repository: gcr.io/google-containers/exechealthz
tag: "1.2"
pullPolicy: IfNotPresent
@@ -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