Skip to content

Commit

Permalink
Merge pull request #2663 from gulywwx/fix-avoidduplicatesslmount
Browse files Browse the repository at this point in the history
fix: avoid duplicate ssl mounts on Redhat in AzureStack environment
  • Loading branch information
andyzhangx authored Nov 25, 2024
2 parents 71823c3 + 576b82c commit 603fa06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,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 @@ -317,7 +317,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 603fa06

Please sign in to comment.