Skip to content

Commit

Permalink
[stable/node-problem-detector] Update the daemonset template volume m…
Browse files Browse the repository at this point in the history
…ount to use hostpath.logdir variable (helm#21761)

* update the daemonset volume mount to use hostpath.logdir variable

Signed-off-by: JaMile Jackson <[email protected]>

* update README

Signed-off-by: JaMile Jackson <[email protected]>

* bump version

Signed-off-by: JaMile Jackson <[email protected]>
  • Loading branch information
jamiebuxxx authored Apr 7, 2020
1 parent 2c56921 commit c7230bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: v1
name: node-problem-detector
version: "1.7.1"
version: "1.7.2"
appVersion: v0.8.1
home: https://github.com/kubernetes/node-problem-detector
description: Installs the node-problem-detector daemonset for monitoring extra attributes on nodes
Expand Down
1 change: 1 addition & 0 deletions stable/node-problem-detector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The following table lists the configurable parameters for this chart and their d
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.repository` | Image | `k8s.gcr.io/node-problem-detector` |
| `image.tag` | Image tag | `v0.6.3` |
| `hostpath.logdir` | Log directory path on K8s host | `/var/log`
| `nameOverride` | Override the name of the chart | `nil` |
| `rbac.create` | RBAC | `true` |
| `rbac.pspEnabled` | PodSecuritypolicy | `false` |
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 @@ -55,7 +55,7 @@ spec:
{{- end }}
volumeMounts:
- name: log
mountPath: /var/log
mountPath: {{ .Values.hostpath.logdir }}
- name: localtime
mountPath: /etc/localtime
readOnly: true
Expand Down

0 comments on commit c7230bb

Please sign in to comment.