Add ability to define ds annotations in helm chart

This commit is contained in:
Daniel Simionato
2022-01-12 07:25:11 +01:00
committed by Christian Kotzbauer
parent f3ed0087d2
commit 178ba93b5a
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.9.1"
description: A Helm chart for kured
name: kured
version: 2.11.1
version: 2.11.2
home: https://github.com/weaveworks/kured
maintainers:
- name: ckotzbauer
+1
View File
@@ -42,6 +42,7 @@ The following changes have been made compared to the stable chart:
| `updateStrategy` | Daemonset update strategy | `RollingUpdate` |
| `maxUnavailable` | The max pods unavailable during a rolling update | `1` |
| `podAnnotations` | Annotations to apply to pods (eg to add Prometheus annotations) | `{}` |
| `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. | `{}` |
| `configuration.lockTtl` | cli-parameter `--lock-ttl` | `0` |
+6
View File
@@ -5,6 +5,12 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "kured.labels" . | nindent 4 }}
{{- if .Values.dsAnnotations }}
annotations:
{{- range $key, $value := .Values.dsAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
updateStrategy:
type: {{ .Values.updateStrategy }}
+1
View File
@@ -9,6 +9,7 @@ updateStrategy: RollingUpdate
maxUnavailable: 1
podAnnotations: {}
dsAnnotations: {}
extraArgs: {}