From 3870d0e6f29a08b23acd076076a5c70b27511072 Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Mon, 24 Jun 2024 10:48:19 +0200 Subject: [PATCH 1/2] fix(chart): Remove cacert volume, dnsPolicy from node ds --- .../cloudstack-csi/templates/csi-node-ds.yaml | 1 - charts/cloudstack-csi/values.yaml | 21 ++++--------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/charts/cloudstack-csi/templates/csi-node-ds.yaml b/charts/cloudstack-csi/templates/csi-node-ds.yaml index 64abeab..3a9a7e6 100644 --- a/charts/cloudstack-csi/templates/csi-node-ds.yaml +++ b/charts/cloudstack-csi/templates/csi-node-ds.yaml @@ -169,7 +169,6 @@ spec: affinity: {{ toYaml .Values.node.affinity | nindent 8 }} nodeSelector: {{ toYaml .Values.node.nodeSelector | nindent 8 }} tolerations: {{ toYaml .Values.node.tolerations | nindent 8 }} - dnsPolicy: {{ .Values.node.dnsPolicy }} {{- with .Values.node.hostAliases }} hostAliases: {{- toYaml . | nindent 8 }} diff --git a/charts/cloudstack-csi/values.yaml b/charts/cloudstack-csi/values.yaml index aeb7738..f4b25d8 100644 --- a/charts/cloudstack-csi/values.yaml +++ b/charts/cloudstack-csi/values.yaml @@ -46,10 +46,7 @@ controller: repository: ghcr.io/leaseweb/cloudstack-csi-driver pullPolicy: IfNotPresent # tag: 0.4.1 # defaults to .Chart.AppVersion - volumeMounts: - - name: cacert - mountPath: /etc/cacert - readOnly: true + volumeMounts: {} resources: {} extraArgs: {} @@ -80,10 +77,7 @@ controller: # seccompProfile: # type: RuntimeDefault # readOnlyRootFilesystem: true - volumes: - - name: cacert - hostPath: - path: /etc/cacert + volumes: {} affinity: {} nodeSelector: {} tolerations: [] @@ -110,15 +104,8 @@ node: # tag: 0.4.1 # defaults to .Chart.AppVersion resources: {} extraArgs: {} - volumeMounts: - - name: cacert - mountPath: /etc/cacert - readOnly: true - volumes: - - name: cacert - hostPath: - path: /etc/cacert - dnsPolicy: ClusterFirstWithHostNet + volumeMounts: {} + volumes: {} priorityClassName: "" podSecurityContext: {} From 904c3c069fd449ba318029d3c1937e09e0cd0ab5 Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Mon, 24 Jun 2024 10:51:19 +0200 Subject: [PATCH 2/2] bump chart version v1.1.1 --- charts/cloudstack-csi/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cloudstack-csi/Chart.yaml b/charts/cloudstack-csi/Chart.yaml index c37a4d4..7ca8ce9 100644 --- a/charts/cloudstack-csi/Chart.yaml +++ b/charts/cloudstack-csi/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cloudstack-csi description: A Helm chart for Kubernetes type: application -version: 1.1.0 +version: 1.1.1 appVersion: 0.5.0 sources: - https://github.com/Leaseweb/cloudstack-csi-driver