Skip to content

Commit

Permalink
fix: avoid duplicate ssl mounts on Redhat in AzureStack environment
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Nov 25, 2024
1 parent d421224 commit 69414f2
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 69414f2

Please sign in to comment.