Skip to content

Commit

Permalink
[stable/node-local-dns] Allow health endpoint port override (delivery…
Browse files Browse the repository at this point in the history
…hero#474)

[stable/node-local-dns] allow health endpoint port override
  • Loading branch information
eliasbokreta authored May 31, 2023
1 parent 1715635 commit 3e2613d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stable/node-local-dns/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: node-local-dns
version: 1.0.0
version: 1.0.1
appVersion: 1.22.20
maintainers:
- name: gabrieladt
Expand Down
3 changes: 2 additions & 1 deletion stable/node-local-dns/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-local-dns

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 1.22.20](https://img.shields.io/badge/AppVersion-1.22.20-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![AppVersion: 1.22.20](https://img.shields.io/badge/AppVersion-1.22.20-informational?style=flat-square)

A chart to install node-local-dns.

Expand Down Expand Up @@ -51,6 +51,7 @@ helm install my-release deliveryhero/node-local-dns -f values.yaml
| affinity | object | `{}` | |
| config.dnsDomain | string | `"cluster.local"` | |
| config.dnsServer | string | `"172.20.0.10"` | |
| config.healthPort | int | `8080` | |
| config.localDns | string | `"169.254.20.25"` | |
| dashboard.annotations | object | `{}` | |
| dashboard.enabled | bool | `false` | |
Expand Down
2 changes: 1 addition & 1 deletion stable/node-local-dns/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data:
force_tcp
}
prometheus :9253
health {{ .Values.config.localDns }}:8080
health {{ .Values.config.localDns }}:{{ .Values.config.healthPort }}
}
in-addr.arpa:53 {
errors
Expand Down
2 changes: 1 addition & 1 deletion stable/node-local-dns/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
httpGet:
host: {{ .Values.config.localDns }}
path: /health
port: 8080
port: {{ .Values.config.healthPort }}
initialDelaySeconds: 60
timeoutSeconds: 5
volumeMounts:
Expand Down
3 changes: 3 additions & 0 deletions stable/node-local-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ config:
# Virtual IP to be used by ipvs mode, to be used as --cluster-dns, must not collide.
localDns: "169.254.20.25"

# Port used for the health endpoint
healthPort: 8080

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 3e2613d

Please sign in to comment.