From 2dcdd3e63672d9ffcc1c93db9713f285291e7eb6 Mon Sep 17 00:00:00 2001 From: Connor Catlett Date: Fri, 16 Dec 2022 14:40:25 +0000 Subject: [PATCH] Add controller.sdkDebugLog parameter Signed-off-by: Connor Catlett --- charts/aws-ebs-csi-driver/CHANGELOG.md | 3 +++ charts/aws-ebs-csi-driver/Chart.yaml | 2 +- charts/aws-ebs-csi-driver/templates/controller.yaml | 3 +++ charts/aws-ebs-csi-driver/values.yaml | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/aws-ebs-csi-driver/CHANGELOG.md b/charts/aws-ebs-csi-driver/CHANGELOG.md index 3f64850708..90e03c24a9 100644 --- a/charts/aws-ebs-csi-driver/CHANGELOG.md +++ b/charts/aws-ebs-csi-driver/CHANGELOG.md @@ -1,5 +1,8 @@ # Helm chart +## v2.14.1 +* Add `controller.sdkDebugLog` parameter + ## v2.14.0 * Bump driver version to `v1.14.0` diff --git a/charts/aws-ebs-csi-driver/Chart.yaml b/charts/aws-ebs-csi-driver/Chart.yaml index b496792a43..7ba3c59d77 100644 --- a/charts/aws-ebs-csi-driver/Chart.yaml +++ b/charts/aws-ebs-csi-driver/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 1.14.0 name: aws-ebs-csi-driver description: A Helm chart for AWS EBS CSI Driver -version: 2.14.0 +version: 2.14.1 kubeVersion: ">=1.17.0-0" home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver sources: diff --git a/charts/aws-ebs-csi-driver/templates/controller.yaml b/charts/aws-ebs-csi-driver/templates/controller.yaml index 2180a76231..008a97e70d 100644 --- a/charts/aws-ebs-csi-driver/templates/controller.yaml +++ b/charts/aws-ebs-csi-driver/templates/controller.yaml @@ -84,6 +84,9 @@ spec: {{- with .Values.controller.httpEndpoint }} - --http-endpoint={{ . }} {{- end }} + {{- if .Values.controller.sdkDebugLog }} + - --aws-sdk-debug-log=true + {{- end}} - --logtostderr - --v={{ .Values.controller.logLevel }} {{- range .Values.controller.additionalArgs }} diff --git a/charts/aws-ebs-csi-driver/values.yaml b/charts/aws-ebs-csi-driver/values.yaml index d32eecbb1f..abaae944c0 100644 --- a/charts/aws-ebs-csi-driver/values.yaml +++ b/charts/aws-ebs-csi-driver/values.yaml @@ -110,8 +110,8 @@ nameOverride: fullnameOverride: controller: - # If arbitrary args like "--aws-sdk-debug-log=true" need to be passed, use this value additionalArgs: [] + sdkDebugLog: false affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: