Skip to content

Commit

Permalink
Add hostnetwork (#135)
Browse files Browse the repository at this point in the history
* Add hostnetwork

* allow hostnetwork

* ports

* changelog
  • Loading branch information
paurosello authored Dec 21, 2023
1 parent 62a8e01 commit 93b3e8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

# Changed
- Use hostNetwork in agents in order to be able to recover from reboots. EFS tunnels are not stuck anymore.

## [1.2.1] - 2023-12-20

### Changed
Expand Down
1 change: 1 addition & 0 deletions helm/aws-efs-csi-driver/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec:
{{- with .Values.node.dnsConfig }}
dnsConfig: {{- toYaml . | nindent 8 }}
{{- end }}
hostNetwork: true
serviceAccountName: {{ .Values.node.serviceAccount.name }}
priorityClassName: system-node-critical
{{- with .Values.node.tolerations }}
Expand Down
4 changes: 4 additions & 0 deletions helm/aws-efs-csi-driver/templates/psp-csi-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ spec:
fsGroup:
rule: RunAsAny
privileged: true
hostNetwork: true
hostPorts:
- max: 9809
min: 9809
runAsUser:
rule: RunAsAny
seLinux:
Expand Down

0 comments on commit 93b3e8b

Please sign in to comment.