Skip to content

Commit

Permalink
Merge pull request #2667 from andyzhangx/fix-avoidduplicatesslmount-1.29
Browse files Browse the repository at this point in the history
[release-1.29] fix: avoid duplicate ssl mounts on Redhat in AzureStack environment
  • Loading branch information
andyzhangx authored Nov 25, 2024
2 parents d421224 + 69414f2 commit af1554e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v1.29.11.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ spec:
name: socket-dir
- mountPath: /etc/kubernetes/
name: azure-cred
{{- if eq .Values.cloud "AzureStackCloud" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
mountPath: /etc/ssl/certs
readOnly: true
Expand All @@ -313,7 +313,7 @@ spec:
hostPath:
path: /etc/kubernetes/
type: DirectoryOrCreate
{{- if eq .Values.cloud "AzureStackCloud" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
hostPath:
path: /etc/ssl/certs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ spec:
name: sys-devices-dir
- mountPath: /sys/class/
name: sys-class
{{- if eq .Values.cloud "AzureStackCloud" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
mountPath: /etc/ssl/certs
readOnly: true
Expand Down Expand Up @@ -254,7 +254,7 @@ spec:
path: /sys/class/
type: Directory
name: sys-class
{{- if eq .Values.cloud "AzureStackCloud" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
hostPath:
path: /etc/ssl/certs
Expand Down

0 comments on commit af1554e

Please sign in to comment.