mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/clamav] Let the user choose the api version of their deployment. (#20185)
* Let the user choose the api version of their deployment. Signed-off-by: Tom Kelley <distortedsignal@gmail.com> * Doc vars, change name of var in kubeMeta. Signed-off-by: Tom Kelley <distortedsignal@gmail.com> * Changes in response to CR Comments * Remove distortedsignal from maintainers * Remove example from README of install behind HTTP Proxy * Remove example from README of install on K8s version >1.8 Signed-off-by: Tom Kelley <distortedsignal@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
79898bdcf5
commit
adb9f3ef1e
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user