Skip to content

Commit f042ae6

Browse files
authored
Merge pull request #1874 from andyzhangx/fix-fedora-azurestack-1.25
[release-1.25] fix: avoid duplicate ssl mounts on Fedora node in AzureStack environment
2 parents c0f3168 + 9939215 commit f042ae6

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` |
-22 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
@@ -196,15 +196,12 @@ spec:
196196
name: azcopy-dir
197197
- mountPath: /etc/kubernetes/
198198
name: azure-cred
199-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
199+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
200200
- name: ssl
201201
mountPath: /etc/ssl/certs
202202
readOnly: true
203203
{{- end }}
204204
{{- if eq .Values.linux.distro "fedora" }}
205-
- name: ssl
206-
mountPath: /etc/ssl/certs
207-
readOnly: true
208205
- name: ssl-pki
209206
mountPath: /etc/pki/ca-trust/extracted
210207
readOnly: true
@@ -247,15 +244,12 @@ spec:
247244
hostPath:
248245
path: /etc/kubernetes/
249246
type: DirectoryOrCreate
250-
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
247+
{{- if or (eq .Values.cloud "AzureStackCloud") (eq .Values.linux.distro "fedora") }}
251248
- name: ssl
252249
hostPath:
253250
path: /etc/ssl/certs
254251
{{- end }}
255252
{{- if eq .Values.linux.distro "fedora" }}
256-
- name: ssl
257-
hostPath:
258-
path: /etc/ssl/certs
259253
- name: ssl-pki
260254
hostPath:
261255
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
@@ -138,7 +138,7 @@ spec:
138138
drop:
139139
- ALL
140140
- name: csi-resizer
141-
image: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.13.1
141+
image: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.13.2
142142
args:
143143
- "-csi-address=$(ADDRESS)"
144144
- "-v=2"

0 commit comments

Comments
 (0)