From 91b160771eef4aec9b808e820bf2d25cc8168f56 Mon Sep 17 00:00:00 2001 From: ec2-bot <65777594+ec2-bot@users.noreply.github.com> Date: Mon, 21 Nov 2022 18:03:47 -0600 Subject: [PATCH] node-termination-handler: v1.18.0 (#850) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: ec2-bot 🤖 --- stable/aws-node-termination-handler/Chart.yaml | 4 ++-- stable/aws-node-termination-handler/README.md | 1 + .../templates/daemonset.linux.yaml | 2 ++ .../templates/daemonset.windows.yaml | 2 ++ stable/aws-node-termination-handler/templates/deployment.yaml | 2 ++ stable/aws-node-termination-handler/values.yaml | 3 +++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/stable/aws-node-termination-handler/Chart.yaml b/stable/aws-node-termination-handler/Chart.yaml index bad6b84db..8ca372d9e 100644 --- a/stable/aws-node-termination-handler/Chart.yaml +++ b/stable/aws-node-termination-handler/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aws-node-termination-handler description: A Helm chart for the AWS Node Termination Handler. type: application -version: 0.19.3 -appVersion: 1.17.3 +version: 0.20.0 +appVersion: 1.18.0 kubeVersion: ">= 1.16-0" keywords: - aws diff --git a/stable/aws-node-termination-handler/README.md b/stable/aws-node-termination-handler/README.md index 5d8825af2..4b9c88439 100644 --- a/stable/aws-node-termination-handler/README.md +++ b/stable/aws-node-termination-handler/README.md @@ -70,6 +70,7 @@ The configuration in this table applies to all AWS Node Termination Handler mode | `extraEnv` | Additional environment variables for the _aws-node-termination-handler_ container. | `[]` | | `probes` | The Kubernetes liveness probe configuration. | _See values.yaml_ | | `logLevel` | Sets the log level (`info`,`debug`, or `error`) | `info` | +| `logFormatVersion` | Sets the log format version. Available versions: 1, 2. Version 1 refers to the format that has been used through v1.17.3. Version 2 offers more detail for the "event kind" and "reason", especially when operating in Queue Processor mode. | `1` | | `jsonLogging` | If `true`, use JSON-formatted logs instead of human readable logs. | `false` | | `enablePrometheusServer` | If `true`, start an http server exposing `/metrics` endpoint for _Prometheus_. | `false` | | `prometheusServerPort` | Replaces the default HTTP port for exposing _Prometheus_ metrics. | `9092` | diff --git a/stable/aws-node-termination-handler/templates/daemonset.linux.yaml b/stable/aws-node-termination-handler/templates/daemonset.linux.yaml index b6568ad6d..95e4b50f5 100644 --- a/stable/aws-node-termination-handler/templates/daemonset.linux.yaml +++ b/stable/aws-node-termination-handler/templates/daemonset.linux.yaml @@ -81,6 +81,8 @@ spec: value: {{ .Values.logLevel | quote }} - name: JSON_LOGGING value: {{ .Values.jsonLogging | quote }} + - name: LOG_FORMAT_VERSION + value: {{ .Values.logFormatVersion | quote }} - name: ENABLE_PROMETHEUS_SERVER value: {{ .Values.enablePrometheusServer | quote }} - name: PROMETHEUS_SERVER_PORT diff --git a/stable/aws-node-termination-handler/templates/daemonset.windows.yaml b/stable/aws-node-termination-handler/templates/daemonset.windows.yaml index 6a9118fec..8a9db7bfc 100644 --- a/stable/aws-node-termination-handler/templates/daemonset.windows.yaml +++ b/stable/aws-node-termination-handler/templates/daemonset.windows.yaml @@ -81,6 +81,8 @@ spec: value: {{ .Values.logLevel | quote }} - name: JSON_LOGGING value: {{ .Values.jsonLogging | quote }} + - name: LOG_FORMAT_VERSION + value: {{ .Values.logFormatVersion | quote }} - name: ENABLE_PROMETHEUS_SERVER value: {{ .Values.enablePrometheusServer | quote }} - name: PROMETHEUS_SERVER_PORT diff --git a/stable/aws-node-termination-handler/templates/deployment.yaml b/stable/aws-node-termination-handler/templates/deployment.yaml index 241eddf15..eeecafb7d 100644 --- a/stable/aws-node-termination-handler/templates/deployment.yaml +++ b/stable/aws-node-termination-handler/templates/deployment.yaml @@ -78,6 +78,8 @@ spec: value: {{ .Values.logLevel | quote }} - name: JSON_LOGGING value: {{ .Values.jsonLogging | quote }} + - name: LOG_FORMAT_VERSION + value: {{ .Values.logFormatVersion | quote }} - name: ENABLE_PROMETHEUS_SERVER value: {{ .Values.enablePrometheusServer | quote }} - name: PROMETHEUS_SERVER_PORT diff --git a/stable/aws-node-termination-handler/values.yaml b/stable/aws-node-termination-handler/values.yaml index 2fbdf2d30..c965358e3 100644 --- a/stable/aws-node-termination-handler/values.yaml +++ b/stable/aws-node-termination-handler/values.yaml @@ -66,6 +66,9 @@ probes: # Set the log level logLevel: info +# Set the log format version +logFormatVersion: 1 + # Log messages in JSON format jsonLogging: false