From e5b754198ff5f6e8db9aa4e1d2b8e490b4cc4b9a Mon Sep 17 00:00:00 2001 From: steveizzle Date: Wed, 1 Jun 2022 17:08:24 +0200 Subject: [PATCH] Added variables from values file --- .../v1.7.0/csi-driver-smb/templates/csi-smb-node-windows.yaml | 2 +- charts/v1.7.0/csi-driver-smb/templates/csi-smb-node.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node-windows.yaml b/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node-windows.yaml index 6487b714ade..6327907b15c 100644 --- a/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node-windows.yaml +++ b/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node-windows.yaml @@ -25,7 +25,7 @@ spec: nodeSelector: kubernetes.io/os: windows priorityClassName: system-node-critical - serviceAccountName: csi-smb-node-sa + serviceAccountName: {{ .Values.serviceAccount.node }} {{- include "smb.pullSecrets" . | indent 6 }} containers: - name: liveness-probe diff --git a/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node.yaml b/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node.yaml index fcfec05e4df..d2ad310aab0 100644 --- a/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node.yaml +++ b/charts/v1.7.0/csi-driver-smb/templates/csi-smb-node.yaml @@ -27,7 +27,7 @@ spec: spec: hostNetwork: true dnsPolicy: {{ .Values.linux.dnsPolicy }} - serviceAccountName: csi-smb-node-sa + serviceAccountName: {{ .Values.serviceAccount.node }} nodeSelector: kubernetes.io/os: linux {{- with .Values.node.nodeSelector }}