Skip to content

Commit

Permalink
no need for hostnet
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Apr 18, 2023
1 parent 3c860ba commit 8f2491e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
2 changes: 2 additions & 0 deletions library/ix-dev/community/clamav/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ClamAV

[ClamAV](https://www.clamav.net/) - ClamAV® is an open-source antivirus engine for detecting trojans, viruses, malware & other malicious threats.

- App runs as `root` user
2 changes: 2 additions & 0 deletions library/ix-dev/community/clamav/app-readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ClamAV

[ClamAV](https://www.clamav.net/) - ClamAV® is an open-source antivirus engine for detecting trojans, viruses, malware & other malicious threats.

- App runs as `root` user
9 changes: 0 additions & 9 deletions library/ix-dev/community/clamav/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,11 @@ questions:
schema:
type: dict
attrs:
- variable: hostNetwork
label: Host Network
description: |
Bind to the host network. It's recommended to keep this disabled.
schema:
type: boolean
default: false
- variable: clamdPort
label: ClamD Port
description: The port for the ClamAV ClamD
schema:
type: int
show_if: [["hostNetwork", "=", false]]
default: 30000
min: 9000
max: 65535
Expand All @@ -103,7 +95,6 @@ questions:
description: The port for the ClamAV MilterD
schema:
type: int
show_if: [["hostNetwork", "=", false]]
default: 30001
min: 9000
max: 65535
Expand Down
2 changes: 1 addition & 1 deletion library/ix-dev/community/clamav/templates/_clamav.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ workload:
primary: true
type: Deployment
podSpec:
hostNetwork: {{ .Values.clamavNetwork.hostNetwork }}
hostNetwork: false
containers:
clamav:
enabled: true
Expand Down
1 change: 0 additions & 1 deletion library/ix-dev/community/clamav/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ clamavConfig:
clamavNetwork:
clamdPort: 30000
milterdPort: 30001
hostNetwork: false

clamavStorage:
sigdb:
Expand Down

0 comments on commit 8f2491e

Please sign in to comment.