Skip to content

Commit

Permalink
[stable/node-problem-detector] allow setting dnsPolicy (#668)
Browse files Browse the repository at this point in the history
* add dnsPoilcy to values

* add dnsPolicy to node-problem-detector

* add documentation

* bump chart version
  • Loading branch information
BojanZelic authored Jan 27, 2025
1 parent 181aaf8 commit 6b40902
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stable/node-problem-detector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: node-problem-detector
version: 2.3.16
version: 2.3.17
appVersion: v0.8.20
home: https://github.com/kubernetes/node-problem-detector
description: |
Expand Down
5 changes: 3 additions & 2 deletions stable/node-problem-detector/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# node-problem-detector

![Version: 2.3.16](https://img.shields.io/badge/Version-2.3.16-informational?style=flat-square) ![AppVersion: v0.8.20](https://img.shields.io/badge/AppVersion-v0.8.20-informational?style=flat-square)
![Version: 2.3.17](https://img.shields.io/badge/Version-2.3.17-informational?style=flat-square) ![AppVersion: v0.8.20](https://img.shields.io/badge/AppVersion-v0.8.20-informational?style=flat-square)

This chart installs a [node-problem-detector](https://github.com/kubernetes/node-problem-detector) daemonset. This tool aims to make various node problems visible to the upstream layers in cluster management stack. It is a daemon which runs on each node, detects node problems and reports them to apiserver.

Expand All @@ -17,7 +17,7 @@ helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem
To install a specific version of this chart:

```console
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --version 2.3.16
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/node-problem-detector --version 2.3.17
```

To install the chart with the release name `my-release`:
Expand Down Expand Up @@ -49,6 +49,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-problem-dete
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| annotations | object | `{}` | |
| dnsPolicy | string | `"ClusterFirst"` | |
| env | string | `nil` | |
| extraContainers | list | `[]` | |
| extraVolumeMounts | list | `[]` | |
Expand Down
1 change: 1 addition & 0 deletions stable/node-problem-detector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
hostPID: {{ .Values.hostPID }}
dnsPolicy: {{ .Values.dnsPolicy }}
terminationGracePeriodSeconds: 30
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
Expand Down
1 change: 1 addition & 0 deletions stable/node-problem-detector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ rbac:
# not recommended, but may be useful for certain use cases.
hostNetwork: false
hostPID: false
dnsPolicy: "ClusterFirst"

volume:
localtime:
Expand Down

0 comments on commit 6b40902

Please sign in to comment.