{{- if .Values.deployment.oauth2proxy.enabled -}} apiVersion: v1 kind: Service metadata: name: {{ include "supabase.oauth2proxy.fullname" . }} labels: {{- include "supabase.labels" . | nindent 4 }} spec: type: ClusterIP selector: {{- include "supabase.oauth2proxy.selectorLabels" . | nindent 4 }} ports: - name: http port: {{ .Values.deployment.oauth2proxy.port }} targetPort: http protocol: TCP {{- end }}