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