Run oidc insecure on unix socket using Nginx

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:01 +01:00
committed by Marco Franssen
parent c9f69907ac
commit 46466e5ec6
3 changed files with 49 additions and 6 deletions
+3
View File
@@ -11,12 +11,15 @@ metadata:
spec:
type: {{ .Values.oidc.service.type }}
ports:
{{- if .Values.oidc.allowInsecureScheme }}
- name: http
port: {{ .Values.oidc.service.port }}
targetPort: http
{{- else }}
- name: https
port: 443
targetPort: https
{{- end }}
selector:
{{- include "spire.oidc.selectorLabels" . | nindent 4 }}
{{ end }}