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
  • Loading branch information
n0rad committed Jul 7, 2019
1 parent b5b2942 commit 4430684
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
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 4430684

Please sign in to comment.