Skip to content

Commit 76f915c

Browse files
authoredMar 9, 2025
Merge pull request #1875 from andyzhangx/fix-fedora-azurestack-1.24
[release-1.24] fix: avoid duplicate ssl mounts on Fedora node in AzureStack environment
2 parents f1e7e0e + c5a2c7f commit 76f915c

File tree

6 files changed

+8
-20
lines changed

6 files changed

+8
-20
lines changed
 

‎charts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The following table lists the configurable parameters of the latest Azure Blob S
7575
| `image.nodeDriverRegistrar.tag` | csi-node-driver-registrar docker image tag | `v2.13.0` |
7676
| `image.nodeDriverRegistrar.pullPolicy` | csi-node-driver-registrar image pull policy | `IfNotPresent` |
7777
| `image.csiResizer.repository` | csi-resizer docker image | `mcr.microsoft.com/oss/kubernetes-csi/csi-resizer` |
78-
| `image.csiResizer.tag` | csi-resizer docker image tag | `v1.13.1` |
78+
| `image.csiResizer.tag` | csi-resizer docker image tag | `v1.13.2` |
7979
| `image.csiResizer.pullPolicy` | csi-resizer image pull policy | `IfNotPresent` |
8080
| `imagePullSecrets` | Specify docker-registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
8181
| `cloud` | the cloud environment the driver is running on | `AzurePublicCloud` |
202 Bytes
Binary file not shown.

‎charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

+2-8
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,12 @@ spec:
194194
name: socket-dir
195195
- mountPath: /etc/kubernetes/
196196
name: azure-cred
197-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
197+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
198198
- name: ssl
199199
mountPath: /etc/ssl/certs
200200
readOnly: true
201201
{{- end }}
202202
{{- if eq .Values.linux.distro "fedora" }}
203-
- name: ssl
204-
mountPath: /etc/ssl/certs
205-
readOnly: true
206203
- name: ssl-pki
207204
mountPath: /etc/pki/ca-trust/extracted
208205
readOnly: true
@@ -243,15 +240,12 @@ spec:
243240
hostPath:
244241
path: /etc/kubernetes/
245242
type: DirectoryOrCreate
246-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
243+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
247244
- name: ssl
248245
hostPath:
249246
path: /etc/ssl/certs
250247
{{- end }}
251248
{{- if eq .Values.linux.distro "fedora" }}
252-
- name: ssl
253-
hostPath:
254-
path: /etc/ssl/certs
255249
- name: ssl-pki
256250
hostPath:
257251
path: /etc/pki/ca-trust/extracted

‎charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

+3-9
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,12 @@ spec:
238238
name: azure-cred
239239
- mountPath: /mnt
240240
name: blob-cache
241-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
241+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
242242
- name: ssl
243243
mountPath: /etc/ssl/certs
244244
readOnly: true
245245
{{- end }}
246-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
247-
- name: ssl
248-
mountPath: /etc/ssl/certs
249-
readOnly: true
246+
{{- if eq .Values.linux.distro "fedora" }}
250247
- name: ssl-pki
251248
mountPath: /etc/pki/ca-trust/extracted
252249
readOnly: true
@@ -311,15 +308,12 @@ spec:
311308
- hostPath:
312309
path: {{ .Values.node.blobfuseCachePath }}
313310
name: blob-cache
314-
{{- if eq .Values.cloud "AzureStackCloud" }}
311+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
315312
- name: ssl
316313
hostPath:
317314
path: /etc/ssl/certs
318315
{{- end }}
319316
{{- if eq .Values.linux.distro "fedora" }}
320-
- name: ssl
321-
hostPath:
322-
path: /etc/ssl/certs
323317
- name: ssl-pki
324318
hostPath:
325319
path: /etc/pki/ca-trust/extracted

‎charts/latest/blob-csi-driver/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ image:
1818
pullPolicy: IfNotPresent
1919
csiResizer:
2020
repository: /oss/kubernetes-csi/csi-resizer
21-
tag: v1.13.1
21+
tag: v1.13.2
2222
pullPolicy: IfNotPresent
2323

2424
cloud: AzurePublicCloud

‎deploy/csi-blob-controller.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ spec:
136136
drop:
137137
- ALL
138138
- name: csi-resizer
139-
image: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.13.1
139+
image: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.13.2
140140
args:
141141
- "-csi-address=$(ADDRESS)"
142142
- "-v=2"

0 commit comments

Comments
 (0)