Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable/node-problem-detector]: Adding support for defining volumeType of localtime #509

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: v1
name: node-problem-detector
version: "2.3.5"
version: "2.3.6"
appVersion: v0.8.13
home: https://github.com/kubernetes/node-problem-detector
description: |
Expand Down
3 changes: 2 additions & 1 deletion 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.5](https://img.shields.io/badge/Version-2.3.5-informational?style=flat-square) ![AppVersion: v0.8.13](https://img.shields.io/badge/AppVersion-v0.8.13-informational?style=flat-square)
![Version: 2.3.6](https://img.shields.io/badge/Version-2.3.6-informational?style=flat-square) ![AppVersion: v0.8.13](https://img.shields.io/badge/AppVersion-v0.8.13-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 Down Expand Up @@ -93,6 +93,7 @@ helm install my-release deliveryhero/node-problem-detector -f values.yaml
| tolerations[0].effect | string | `"NoSchedule"` | |
| tolerations[0].operator | string | `"Exists"` | |
| updateStrategy | string | `"RollingUpdate"` | Manage the daemonset update strategy |
| volume.localtime.type | string | `"FileOrCreate"` | |

## Maintainers

Expand Down
2 changes: 1 addition & 1 deletion stable/node-problem-detector/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
- name: localtime
hostPath:
path: /etc/localtime
type: "FileOrCreate"
type: {{ default "FileOrCreate" .Values.volume.localtime.type }}
- name: custom-config
configMap:
name: {{ include "node-problem-detector.customConfig" . }}
Expand Down
4 changes: 4 additions & 0 deletions stable/node-problem-detector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ rbac:
hostNetwork: false
hostPID: false

volume:
localtime:
type: "FileOrCreate"

priorityClassName: system-node-critical

securityContext:
Expand Down
Loading