Initial spire chart setup
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{{- if and (eq (.Values.oidc.enabled | toString) "true") (eq (.Values.oidc.ingress.enabled | toString) "true") }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ include "spire.fullname" . }}-oidc-ingress
|
||||
namespace: spire
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.oidc.ingress.domain }}
|
||||
secretName: oidc-secret
|
||||
rules:
|
||||
- host: {{ .Values.oidc.ingress.domain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /.well-known/openid-configuration
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "spire.fullname" . }}-oidc
|
||||
port:
|
||||
name: http
|
||||
- path: /keys
|
||||
pathType: ImplementationSpecific
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "spire.fullname" . }}-oidc
|
||||
port:
|
||||
name: http
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user