diff --git a/stable/clamav/Chart.yaml b/stable/clamav/Chart.yaml index 522584982d..47bf1005d3 100644 --- a/stable/clamav/Chart.yaml +++ b/stable/clamav/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "1.6" description: An Open-Source antivirus engine for detecting trojans, viruses, malware & other malicious threats. name: clamav -version: 1.0.4 +version: 1.0.5 home: https://www.clamav.net icon: https://www.clamav.net/assets/clamav-trademark.png maintainers: diff --git a/stable/clamav/README.md b/stable/clamav/README.md index e4a07887ad..7c772b7681 100644 --- a/stable/clamav/README.md +++ b/stable/clamav/README.md @@ -32,6 +32,8 @@ The command deploys ClamAV on the Kubernetes cluster in the default configuratio > **Tip**: List all releases using `helm list` +In order to deploy this chart under Kubernetes 1.9+, the `kubeMeta.deploymentApiVersion` MUST be set to "apps/v1". + ## Uninstalling the Chart To uninstall/delete the `my-release` deployment: diff --git a/stable/clamav/templates/deployment.yaml b/stable/clamav/templates/deployment.yaml index 2afcd81e15..1a161750f3 100644 --- a/stable/clamav/templates/deployment.yaml +++ b/stable/clamav/templates/deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: {{ default "apps/v1beta2" .Values.kubeMeta.deploymentApiVersion }} kind: Deployment metadata: name: {{ include "clamav.fullname" . }} @@ -75,4 +75,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{ toYaml . | indent 8 }} - {{- end }} \ No newline at end of file + {{- end }} diff --git a/stable/clamav/values.yaml b/stable/clamav/values.yaml index 878dc1c9cd..3c17cd4ee7 100644 --- a/stable/clamav/values.yaml +++ b/stable/clamav/values.yaml @@ -33,6 +33,16 @@ ingress: # freshclamConfig: | # HTTPProxyServer your-proxy.example.com # HTTPProxyPort 8080 +# DatabaseDirectory /data +# LogSyslog yes +# LogTime yes +# PidFile /run/clamav/freshclam.pid +# DatabaseOwner root +# DatabaseMirror database.clamav.net +# ScriptedUpdates yes +# NotifyClamd /etc/clamav/clamd.conf +# SafeBrowsing yes +# Bytecode yes resources: {} # We usually recommend not to specify default resources and to leave this as a conscious @@ -54,3 +64,8 @@ nodeSelector: {} tolerations: [] affinity: {} + +# Metadata surrounding the kubernetes distribution being deployed to. +kubeMeta: + # The api that Deployments are under. + deploymentApiVersion: apps/v1beta2