all-in-one/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-service.yaml
BP cdb16b0411 Use .Values in Helm templates
Signed-off-by: BP <busta.pipes@gmail.com>
2023-08-09 17:55:28 -06:00

19 lines
485 B
YAML
Executable file

{{- if eq .Values.CLAMAV_ENABLED "yes" }}
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.30.0 (9d8dcb518)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
namespace: {{ .Values.NAMESPACE }}
spec:
ports:
- name: "3310"
port: 3310
targetPort: 3310
selector:
io.kompose.service: nextcloud-aio-clamav
{{- end }}