diff --git a/charts/kured/Chart.yaml b/charts/kured/Chart.yaml index dd66829..e070631 100644 --- a/charts/kured/Chart.yaml +++ b/charts/kured/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "1.8.0" +appVersion: "1.9.0" description: A Helm chart for kured name: kured -version: 2.10.0 +version: 2.11.0 home: https://github.com/weaveworks/kured maintainers: - name: ckotzbauer diff --git a/charts/kured/README.md b/charts/kured/README.md index a88a4a8..011c4b1 100644 --- a/charts/kured/README.md +++ b/charts/kured/README.md @@ -71,6 +71,7 @@ The following changes have been made compared to the stable chart: | `configuration.startTime` | cli-parameter `--start-time` | `""` | | `configuration.timeZone` | cli-parameter `--time-zone` | `""` | | `configuration.annotateNodes` | cli-parameter `--annotate-nodes` | `false` | +| `configuration.logFormat` | cli-parameter `--log-format` | `""` | | `configuration.preferNoScheduleTaint` | Taint name applied during pending node reboot | `""` | | `rbac.create` | Create RBAC roles | `true` | | `serviceAccount.create` | Create a service account | `true` | diff --git a/charts/kured/templates/daemonset.yaml b/charts/kured/templates/daemonset.yaml index 00c12a4..bb978d4 100644 --- a/charts/kured/templates/daemonset.yaml +++ b/charts/kured/templates/daemonset.yaml @@ -136,6 +136,9 @@ spec: {{- if .Values.configuration.preferNoScheduleTaint }} - --prefer-no-schedule-taint={{ .Values.configuration.preferNoScheduleTaint }} {{- end }} + {{- if .Values.configuration.logFormat }} + - --log-format={{ .Values.configuration.logFormat }} + {{- end }} {{- range $key, $value := .Values.extraArgs }} {{- if $value }} - --{{ $key }}={{ $value }} diff --git a/charts/kured/values.minikube.yaml b/charts/kured/values.minikube.yaml index b06d9f7..1d5a016 100644 --- a/charts/kured/values.minikube.yaml +++ b/charts/kured/values.minikube.yaml @@ -28,3 +28,4 @@ configuration: # timeZone: "" # time-zone to use (valid zones from "time" golang package) # annotateNodes: false # enable 'weave.works/kured-reboot-in-progress' and 'weave.works/kured-most-recent-reboot-needed' node annotations to signify kured reboot operations # lockReleaseDelay: "5m" # hold lock after reboot by this amount of time (default 0, disabled) + # logFormat: "text" # log format specified as text or json, defaults to text diff --git a/charts/kured/values.yaml b/charts/kured/values.yaml index 5bdc91b..ac4e4d6 100644 --- a/charts/kured/values.yaml +++ b/charts/kured/values.yaml @@ -50,6 +50,7 @@ configuration: annotateNodes: false # enable 'weave.works/kured-reboot-in-progress' and 'weave.works/kured-most-recent-reboot-needed' node annotations to signify kured reboot operations lockReleaseDelay: 0 # hold lock after reboot by this amount of time (default 0, disabled) preferNoScheduleTaint: "" # Taint name applied during pending node reboot (to prevent receiving additional pods from other rebooting nodes). Disabled by default. Set e.g. to "weave.works/kured-node-reboot" to enable tainting. + logFormat: "text" # log format specified as text or json, defaults to text rbac: create: true