Skip to content

Commit

Permalink
Adds new flag --metrics-host to chart
Browse files Browse the repository at this point in the history
kubereboot/kured#811

Signed-off-by: Nathan Kinkade <[email protected]>
  • Loading branch information
nkinkade committed Aug 7, 2023
1 parent eeda986 commit 57edac7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kured/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.13.2"
description: A Helm chart for kured
name: kured
version: 5.1.0
version: 5.1.1
home: https://github.com/kubereboot/kured
maintainers:
- name: ckotzbauer
Expand Down
1 change: 1 addition & 0 deletions charts/kured/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ The following changes have been made compared to the stable chart:
| `dsAnnotations` | Annotations to apply to the kured DaemonSet | `{}` |
| `extraArgs` | Extra arguments to pass to `/usr/bin/kured`. See below. | `{}` |
| `extraEnvVars` | Array of environment variables to pass to the daemonset. | `{}` |
| `metricsHost` | Host to expose the metrics endpoint. | `""` |
| `metricsPort` | Port to expose the metrics endpoint. | `8080` |
| `configuration.lockTtl` | cli-parameter `--lock-ttl` | `0` |
| `configuration.lockReleaseDelay` | cli-parameter `--lock-release-delay` | `0` |
Expand Down
3 changes: 3 additions & 0 deletions charts/kured/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ spec:
args:
- --ds-name={{ template "kured.fullname" . }}
- --ds-namespace={{ .Release.Namespace }}
{{- if .Values.configuration.metricsHost }}
- --metrics-host={{ .Values.configuration.metricsHost }}
{{- end }}
{{- if .Values.configuration.metricsPort }}
- --metrics-port={{ .Values.configuration.metricsPort }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/kured/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ extraEnvVars:
# value: 123

configuration:
metricsHost: "" # host where metrics will listen
metricsPort: 8080 # port number where metrics will listen
lockTtl: 0 # force clean annotation after this amount of time (default 0, disabled)
alertFilterRegexp: "" # alert names to ignore when checking for active alerts
Expand Down

0 comments on commit 57edac7

Please sign in to comment.