{{- 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.31.2 (a92241f79) 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 }}