{{- if eq .Values.ONLYOFFICE_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-onlyoffice name: nextcloud-aio-onlyoffice namespace: {{ .Values.NAMESPACE }} spec: ports: - name: "80" port: 80 targetPort: 80 selector: io.kompose.service: nextcloud-aio-onlyoffice {{- end }}