From 6fa0b520e3147f75b1b67d518fde58e87b583af3 Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Thu, 28 Sep 2023 14:22:12 +0200 Subject: [PATCH] deployment: Adapt 'workerThreads' to be a string There is a check in the main.go module which expects it to be a string so it can convert it into an integer. Without this, we cannot actually provide the configuration without hitting a conversion error. This should fix it. --- deploy/chart/local-path-provisioner/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/chart/local-path-provisioner/templates/deployment.yaml b/deploy/chart/local-path-provisioner/templates/deployment.yaml index e07b1647c..0f9085600 100644 --- a/deploy/chart/local-path-provisioner/templates/deployment.yaml +++ b/deploy/chart/local-path-provisioner/templates/deployment.yaml @@ -58,7 +58,7 @@ spec: - {{ .Values.configmap.name }} {{- if .Values.workerThreads }} - --worker-threads - - {{ .Values.workerThreads }} + - {{ .Values.workerThreads | toString }} {{- end }} {{- if .Values.provisioningRetryCount }} - --provisioning-retry-count