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: ...@@ -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. | `{}` | | `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` |
| `configuration.annotationTtl` | cli-parameter `--annotation-ttl` | `0` | | `configuration.annotationTtl` | cli-parameter `--annotation-ttl` | `0` |
| `configuration.alertFilterRegexp` | cli-parameter `--alert-filter-regexp` | `""` | | `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.endTime` | cli-parameter `--end-time` | `""` |
| `configuration.lockAnnotation` | cli-parameter `--lock-annotation` | `""` | | `configuration.lockAnnotation` | cli-parameter `--lock-annotation` | `""` |
| `configuration.period` | cli-parameter `--period` | `""` | | `configuration.period` | cli-parameter `--period` | `""` |
| `configuration.prometheusUrl` | cli-parameter `--prometheus-url` | `""` | | `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.rebootSentinel` | cli-parameter `--reboot-sentinel` | `""` |
| `configuration.slackChannel` | cli-parameter `--slack-channel` | `""` | | `configuration.slackChannel` | cli-parameter `--slack-channel` | `""` |
| `configuration.slackHookUrl` | cli-parameter `--slack-hook-url` | `""` | | `configuration.slackHookUrl` | cli-parameter `--slack-hook-url` | `""` |
......
...@@ -51,8 +51,8 @@ spec: ...@@ -51,8 +51,8 @@ spec:
{{- if .Values.configuration.alertFilterRegexp }} {{- if .Values.configuration.alertFilterRegexp }}
- --alert-filter-regexp={{ .Values.configuration.alertFilterRegexp | quote }} - --alert-filter-regexp={{ .Values.configuration.alertFilterRegexp | quote }}
{{- end }} {{- end }}
{{- if .Values.configuration.blockingPodSelector }} {{- range .Values.configuration.blockingPodSelector }}
- --blocking-pod-selector={{ .Values.configuration.blockingPodSelector | quote }} - --blocking-pod-selector={{ . | quote }}
{{- end }} {{- end }}
{{- if .Values.configuration.endTime }} {{- if .Values.configuration.endTime }}
- --end-time={{ .Values.configuration.endTime | quote }} - --end-time={{ .Values.configuration.endTime | quote }}
...@@ -66,8 +66,8 @@ spec: ...@@ -66,8 +66,8 @@ spec:
{{- if .Values.configuration.prometheusUrl }} {{- if .Values.configuration.prometheusUrl }}
- --prometheus-url={{ .Values.configuration.prometheusUrl | quote }} - --prometheus-url={{ .Values.configuration.prometheusUrl | quote }}
{{- end }} {{- end }}
{{- if .Values.configuration.rebootDays }} {{- range .Values.configuration.rebootDays }}
- --reboot-days={{ .Values.configuration.rebootDays | quote }} - --reboot-days={{ . | quote }}
{{- end }} {{- end }}
{{- if .Values.configuration.rebootSentinel }} {{- if .Values.configuration.rebootSentinel }}
- --reboot-sentinel={{ .Values.configuration.rebootSentinel | quote }} - --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