{{- if index .Values.ocAuth.enabled }} apiVersion: v1 kind: Service metadata: name: oc-auth-svc labels: app: oc-auth-svc spec: ports: - name: http port: 8094 protocol: TCP targetPort: 8080 selector: app: oc-auth type: ClusterIP {{- end }}