Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ARM
k8s
Kured
Commits
aea93fd0
Unverified
Commit
aea93fd0
authored
Jul 29, 2020
by
Daniel Holbach
Committed by
GitHub
Jul 29, 2020
Browse files
Merge pull request #169 from audunsolemdal/master
Chart: Support extraEnvVars
parents
29eb8623
4dd15e38
Changes
4
Hide whitespace changes
Inline
Side-by-side
charts/kured/Chart.yaml
View file @
aea93fd0
...
...
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion
:
"
1.4.4"
description
:
A Helm chart for kured
name
:
kured
version
:
2.
0.3
version
:
2.
1.0
home
:
https://github.com/weaveworks/kured
maintainers
:
-
name
:
dholbach
...
...
charts/kured/README.md
View file @
aea93fd0
...
...
@@ -42,6 +42,7 @@ The following changes have been made compared to the stable chart:
|
`updateStrategy`
| Daemonset update strategy |
`OnDelete`
|
|
`podAnnotations`
| Annotations to apply to pods (eg to add Prometheus annotations) |
`{}`
|
|
`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.alertFilterRegexp`
| cli-parameter
`--alert-filter-regexp`
|
`""`
|
|
`configuration.blockingPodSelector`
| Array of selectors for multiple cli-parameters
`--blocking-pod-selector`
|
`[]`
|
...
...
charts/kured/templates/daemonset.yaml
View file @
aea93fd0
...
...
@@ -104,6 +104,9 @@ spec:
valueFrom
:
fieldRef
:
fieldPath
:
spec.nodeName
{{
- if .Values.extraEnvVars
}}
{{
toYaml .Values.extraEnvVars | nindent 12
}}
{{
- end
}}
{{
- with .Values.tolerations
}}
tolerations
:
{{
toYaml . | indent 8
}}
...
...
charts/kured/values.yaml
View file @
aea93fd0
...
...
@@ -10,6 +10,15 @@ podAnnotations: {}
extraArgs
:
{}
extraEnvVars
:
# - name: slackHookUrl
# valueFrom:
# secretKeyRef:
# name: secret_name
# key: secret_key
# - name: regularEnvVariable
# value: 123
configuration
:
annotationTtl
:
0
# force clean annotation after this ammount of time (default 0, disabled)
alertFilterRegexp
:
"
"
# alert names to ignore when checking for active alerts
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment