Skip to content

Commit

Permalink
Fix node.selinux configuration parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSirenko committed Jan 24, 2025
1 parent 640b891 commit d450d62
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions charts/aws-ebs-csi-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Helm chart

## v2.39.1

### Bug or Regression
- Fix `node.selinux` to properly set SELinux-specific mounts as ReadOnly ([#2311](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/2311), [@AndrewSirenko](https://github.com/AndrewSirenko))

## v2.39.0

### Feature
Expand Down
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.39.0
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 2.39.0
version: 2.39.1
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/aws-ebs-csi-driver/templates/_node.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,10 @@ spec:
{{- if .Values.node.selinux }}
- name: selinux-sysfs
mountPath: /sys/fs/selinux
readOnly: true
- name: selinux-config
mountPath: /etc/selinux/config
readOnly: true
{{- end }}
{{- with .Values.node.volumeMounts }}
{{- toYaml . | nindent 12 }}
Expand Down Expand Up @@ -259,12 +261,10 @@ spec:
hostPath:
path: /sys/fs/selinux
type: Directory
readOnly: true
- name: selinux-config
hostPath:
path: /etc/selinux/config
type: File
readOnly: true
{{- end }}
- name: probe-dir
{{- if .Values.node.probeDirVolume }}
Expand Down

0 comments on commit d450d62

Please sign in to comment.