From 921e968df19a06272f9571b9cc7aa4d96c91cfdc Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Sat, 5 Jan 2019 01:15:41 +0100 Subject: [PATCH] [node-problem-detector] parameterize location of logdir to make it run on RHEL and upgrade to latest release (#10404) * parameterize location of logdir to make it run on RHEL Signed-off-by: David J. M. Karlsen * upgrade to latest node problem detector release Signed-off-by: David J. M. Karlsen --- stable/node-problem-detector/Chart.yaml | 4 ++-- stable/node-problem-detector/README.md | 2 +- stable/node-problem-detector/templates/daemonset.yaml | 2 +- stable/node-problem-detector/values.yaml | 5 ++++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/stable/node-problem-detector/Chart.yaml b/stable/node-problem-detector/Chart.yaml index e3566881cc..3abf1c942c 100644 --- a/stable/node-problem-detector/Chart.yaml +++ b/stable/node-problem-detector/Chart.yaml @@ -1,6 +1,6 @@ name: node-problem-detector -version: "1.0.1" -appVersion: v0.5.0 +version: "1.1.0" +appVersion: v0.6.1 home: https://github.com/kubernetes/node-problem-detector description: Installs the node-problem-detector daemonset for monitoring extra attributes on nodes icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png diff --git a/stable/node-problem-detector/README.md b/stable/node-problem-detector/README.md index 9c22f928ea..d5133e8dbe 100644 --- a/stable/node-problem-detector/README.md +++ b/stable/node-problem-detector/README.md @@ -41,7 +41,7 @@ The following table lists the configurable parameters for this chart and their d | `fullnameOverride` | Override the fullname of the chart | `nil` | | `image.pullPolicy` | Image pull policy | `IfNotPresent` | | `image.repository` | Image | `k8s.gcr.io/node-problem-detector` | -| `image.tag` | Image tag | `v0.5.0` | +| `image.tag` | Image tag | `v0.6.1` | | `nameOverride` | Override the name of the chart | `nil` | | `rbac.create` | RBAC | `true` | | `resources` | Pod resource requests and limits | `{}` | diff --git a/stable/node-problem-detector/templates/daemonset.yaml b/stable/node-problem-detector/templates/daemonset.yaml index 2f29d0cee0..000951d95a 100644 --- a/stable/node-problem-detector/templates/daemonset.yaml +++ b/stable/node-problem-detector/templates/daemonset.yaml @@ -59,7 +59,7 @@ spec: volumes: - name: log hostPath: - path: /var/log/ + path: {{ .Values.hostpath.logdir }} - name: localtime hostPath: path: /etc/localtime diff --git a/stable/node-problem-detector/values.yaml b/stable/node-problem-detector/values.yaml index 9f5d36ff96..1e6bccf734 100644 --- a/stable/node-problem-detector/values.yaml +++ b/stable/node-problem-detector/values.yaml @@ -3,9 +3,12 @@ settings: - /config/kernel-monitor.json - /config/docker-monitor.json +hostpath: + logdir: /var/log/ + image: repository: k8s.gcr.io/node-problem-detector - tag: v0.5.0 + tag: v0.6.1 pullPolicy: IfNotPresent nameOverride: ""