Skip to content

Commit

Permalink
Merge pull request #1719 from andyzhangx/fix-avoidduplicatesslmount-a…
Browse files Browse the repository at this point in the history
…zurestack

fix: avoid duplicate ssl mounts on Redhat in AzureStack environment
  • Loading branch information
andyzhangx authored Nov 29, 2024
2 parents 590bbd4 + 98897de commit 67948df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified charts/latest/blob-csi-driver-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ spec:
name: azcopy-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 Down Expand Up @@ -229,7 +229,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
4 changes: 2 additions & 2 deletions charts/latest/blob-csi-driver/templates/csi-blob-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ spec:
name: azure-cred
- mountPath: /mnt
name: blob-cache
{{- if eq .Values.cloud "AzureStackCloud" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
mountPath: /etc/ssl/certs
readOnly: true
{{- end }}
{{- if eq .Values.linux.distro "fedora" }}
{{- if and (eq .Values.cloud "AzureStackCloud") (ne .Values.linux.distro "fedora") }}
- name: ssl
mountPath: /etc/ssl/certs
readOnly: true
Expand Down

0 comments on commit 67948df

Please sign in to comment.