Commit b78ba8e7 authored by Christian Kotzbauer's avatar Christian Kotzbauer
Browse files

allow multiple blockingPodSelector and rebootDays to be defined



Signed-off-by: default avatarChristian Kotzbauer <christian.kotzbauer@gmail.com>
parent 1ddd45d9
......@@ -44,12 +44,12 @@ The following changes have been made compared to the stable chart:
| `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` |
| `configuration.annotationTtl` | cli-parameter `--annotation-ttl` | `0` |
| `configuration.alertFilterRegexp` | cli-parameter `--alert-filter-regexp` | `""` |
| `configuration.blockingPodSelector` | cli-parameter `--blocking-pod-selector` **Note**: Escape like "foo\\,bar" | `[]` |
| `configuration.blockingPodSelector` | Array of selectors for multiple cli-parameters `--blocking-pod-selector` | `[]` |
| `configuration.endTime` | cli-parameter `--end-time` | `""` |
| `configuration.lockAnnotation` | cli-parameter `--lock-annotation` | `""` |
| `configuration.period` | cli-parameter `--period` | `""` |
| `configuration.prometheusUrl` | cli-parameter `--prometheus-url` | `""` |
| `configuration.rebootDays` | cli-parameter `--reboot-days` **Note**: Escape like "mo\\,tu" | `[]` |
| `configuration.rebootDays` | Array of days for multiple cli-parameters `--reboot-days` | `[]` |
| `configuration.rebootSentinel` | cli-parameter `--reboot-sentinel` | `""` |
| `configuration.slackChannel` | cli-parameter `--slack-channel` | `""` |
| `configuration.slackHookUrl` | cli-parameter `--slack-hook-url` | `""` |
......
......@@ -51,8 +51,8 @@ spec:
{{- if .Values.configuration.alertFilterRegexp }}
- --alert-filter-regexp={{ .Values.configuration.alertFilterRegexp | quote }}
{{- end }}
{{- if .Values.configuration.blockingPodSelector }}
- --blocking-pod-selector={{ .Values.configuration.blockingPodSelector | quote }}
{{- range .Values.configuration.blockingPodSelector }}
- --blocking-pod-selector={{ . | quote }}
{{- end }}
{{- if .Values.configuration.endTime }}
- --end-time={{ .Values.configuration.endTime | quote }}
......@@ -66,8 +66,8 @@ spec:
{{- if .Values.configuration.prometheusUrl }}
- --prometheus-url={{ .Values.configuration.prometheusUrl | quote }}
{{- end }}
{{- if .Values.configuration.rebootDays }}
- --reboot-days={{ .Values.configuration.rebootDays | quote }}
{{- range .Values.configuration.rebootDays }}
- --reboot-days={{ . | quote }}
{{- end }}
{{- if .Values.configuration.rebootSentinel }}
- --reboot-sentinel={{ .Values.configuration.rebootSentinel | quote }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment