Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/unbound] add clusterIP
Browse files Browse the repository at this point in the history
Signed-off-by: Arnaud Lemaire <[email protected]>
  • Loading branch information
n0rad committed Jul 7, 2019
1 parent b5b2942 commit e30580e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/unbound/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.1
appVersion: 1.6.7
sources:
- http://unbound.nlnetlabs.nl/svn/
Expand Down
1 change: 1 addition & 0 deletions stable/unbound/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
3 changes: 3 additions & 0 deletions stable/unbound/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions stable/unbound/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e30580e

Please sign in to comment.