[stable/node-problem-detector] Add hostNetwork option (#10909)

* Add hostNetwork option.

Signed-off-by: Jeev B <jeev@kariusdx.com>

* Bump version

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
This commit is contained in:
Jeev B
2019-01-27 14:51:13 -08:00
committed by Kubernetes Prow Robot
parent ad896f7941
commit db10071d8b
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: node-problem-detector
version: "1.1.4"
version: "1.2.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
+2 -1
View File
@@ -35,7 +35,7 @@ Custom System log monitor config files can be created, see [here](https://github
The following table lists the configurable parameters for this chart and their default values.
| Parameter | Description | Default |
| ----------------------------------|--------------------------------------------|--------------------------------------------------------------|
|-----------------------------------|--------------------------------------------|--------------------------------------------------------------|
| `affinity` | Map of node/pod affinities | `{}` |
| `annotations` | Optional daemonset annotations | `{}` |
| `fullnameOverride` | Override the fullname of the chart | `nil` |
@@ -44,6 +44,7 @@ The following table lists the configurable parameters for this chart and their d
| `image.tag` | Image tag | `v0.6.1` |
| `nameOverride` | Override the name of the chart | `nil` |
| `rbac.create` | RBAC | `true` |
| `hostNetwork` | Run pod on host network | `false` |
| `resources` | Pod resource requests and limits | `{}` |
| `settings.log_monitors` | System log monitor config files | `/config/kernel-monitor.json`, `/config/docker-monitor.json` |
| `settings.custom_plugin_monitors` | Custom plugin monitor config files | `[]` |
@@ -25,6 +25,7 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ template "node-problem-detector.serviceAccountName" . }}
hostNetwork: {{ .Values.hostNetwork }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+4
View File
@@ -18,6 +18,10 @@ fullnameOverride: ""
rbac:
create: true
# Flag to run Node Problem Detector on the host's network. This is typically
# not recommended, but may be useful for certain use cases.
hostNetwork: false
resources: {}
annotations: {}