Skip to content

Commit 223a08c

Browse files
authored
Merge pull request #2311 from AndrewSirenko/fix-selinux
Fix node.selinux configuration parameter & release Helm Chart v2.39.1
2 parents 640b891 + 1404536 commit 223a08c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

charts/aws-ebs-csi-driver/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Helm chart
22

3+
## v2.39.1
4+
5+
### Bug or Regression
6+
- 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))
7+
38
## v2.39.0
49

510
### Feature

charts/aws-ebs-csi-driver/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 1.39.0
33
name: aws-ebs-csi-driver
44
description: A Helm chart for AWS EBS CSI Driver
5-
version: 2.39.0
5+
version: 2.39.1
66
kubeVersion: ">=1.17.0-0"
77
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
88
sources:

charts/aws-ebs-csi-driver/templates/_node.tpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@ spec:
134134
{{- if .Values.node.selinux }}
135135
- name: selinux-sysfs
136136
mountPath: /sys/fs/selinux
137+
readOnly: true
137138
- name: selinux-config
138139
mountPath: /etc/selinux/config
140+
readOnly: true
139141
{{- end }}
140142
{{- with .Values.node.volumeMounts }}
141143
{{- toYaml . | nindent 12 }}
@@ -259,12 +261,10 @@ spec:
259261
hostPath:
260262
path: /sys/fs/selinux
261263
type: Directory
262-
readOnly: true
263264
- name: selinux-config
264265
hostPath:
265266
path: /etc/selinux/config
266267
type: File
267-
readOnly: true
268268
{{- end }}
269269
- name: probe-dir
270270
{{- if .Values.node.probeDirVolume }}

0 commit comments

Comments
 (0)