From 8f2491e6e544453e97839166ccf599b69bc98fb8 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Tue, 18 Apr 2023 18:30:08 +0300 Subject: [PATCH] no need for hostnet --- library/ix-dev/community/clamav/README.md | 2 ++ library/ix-dev/community/clamav/app-readme.md | 2 ++ library/ix-dev/community/clamav/questions.yaml | 9 --------- library/ix-dev/community/clamav/templates/_clamav.tpl | 2 +- library/ix-dev/community/clamav/values.yaml | 1 - 5 files changed, 5 insertions(+), 11 deletions(-) diff --git a/library/ix-dev/community/clamav/README.md b/library/ix-dev/community/clamav/README.md index a82249d5ea9..3c4d7460a45 100644 --- a/library/ix-dev/community/clamav/README.md +++ b/library/ix-dev/community/clamav/README.md @@ -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 diff --git a/library/ix-dev/community/clamav/app-readme.md b/library/ix-dev/community/clamav/app-readme.md index a82249d5ea9..3c4d7460a45 100644 --- a/library/ix-dev/community/clamav/app-readme.md +++ b/library/ix-dev/community/clamav/app-readme.md @@ -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 diff --git a/library/ix-dev/community/clamav/questions.yaml b/library/ix-dev/community/clamav/questions.yaml index 28c8a5cba4e..f20b4c07e93 100644 --- a/library/ix-dev/community/clamav/questions.yaml +++ b/library/ix-dev/community/clamav/questions.yaml @@ -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 @@ -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 diff --git a/library/ix-dev/community/clamav/templates/_clamav.tpl b/library/ix-dev/community/clamav/templates/_clamav.tpl index 2f04b24b214..3224c567ec1 100644 --- a/library/ix-dev/community/clamav/templates/_clamav.tpl +++ b/library/ix-dev/community/clamav/templates/_clamav.tpl @@ -5,7 +5,7 @@ workload: primary: true type: Deployment podSpec: - hostNetwork: {{ .Values.clamavNetwork.hostNetwork }} + hostNetwork: false containers: clamav: enabled: true diff --git a/library/ix-dev/community/clamav/values.yaml b/library/ix-dev/community/clamav/values.yaml index 510b09ffc12..47508748719 100644 --- a/library/ix-dev/community/clamav/values.yaml +++ b/library/ix-dev/community/clamav/values.yaml @@ -19,7 +19,6 @@ clamavConfig: clamavNetwork: clamdPort: 30000 milterdPort: 30001 - hostNetwork: false clamavStorage: sigdb: