Unverified Commit aea93fd0 authored by Daniel Holbach's avatar Daniel Holbach Committed by GitHub
Browse files

Merge pull request #169 from audunsolemdal/master

Chart: Support extraEnvVars
parents 29eb8623 4dd15e38
...@@ -2,7 +2,7 @@ apiVersion: v1 ...@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.4.4" appVersion: "1.4.4"
description: A Helm chart for kured description: A Helm chart for kured
name: kured name: kured
version: 2.0.3 version: 2.1.0
home: https://github.com/weaveworks/kured home: https://github.com/weaveworks/kured
maintainers: maintainers:
- name: dholbach - name: dholbach
......
...@@ -42,6 +42,7 @@ The following changes have been made compared to the stable chart: ...@@ -42,6 +42,7 @@ The following changes have been made compared to the stable chart:
| `updateStrategy` | Daemonset update strategy | `OnDelete` | | `updateStrategy` | Daemonset update strategy | `OnDelete` |
| `podAnnotations` | Annotations to apply to pods (eg to add Prometheus annotations) | `{}` | | `podAnnotations` | Annotations to apply to pods (eg to add Prometheus annotations) | `{}` |
| `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` | | `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` |
| `extraEnvVars` | Array of environment variables to pass to the daemonset. | `{}` |
| `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` | Array of selectors for multiple cli-parameters `--blocking-pod-selector` | `[]` | | `configuration.blockingPodSelector` | Array of selectors for multiple cli-parameters `--blocking-pod-selector` | `[]` |
......
...@@ -104,6 +104,9 @@ spec: ...@@ -104,6 +104,9 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
{{- if .Values.extraEnvVars }}
{{ toYaml .Values.extraEnvVars | nindent 12 }}
{{- end }}
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
......
...@@ -10,6 +10,15 @@ podAnnotations: {} ...@@ -10,6 +10,15 @@ podAnnotations: {}
extraArgs: {} extraArgs: {}
extraEnvVars:
# - name: slackHookUrl
# valueFrom:
# secretKeyRef:
# name: secret_name
# key: secret_key
# - name: regularEnvVariable
# value: 123
configuration: configuration:
annotationTtl: 0 # force clean annotation after this ammount of time (default 0, disabled) annotationTtl: 0 # force clean annotation after this ammount of time (default 0, disabled)
alertFilterRegexp: "" # alert names to ignore when checking for active alerts alertFilterRegexp: "" # alert names to ignore when checking for active alerts
......
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