Initial spire chart setup

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:00 +01:00
committed by Marco Franssen
parent 258a5a2ca7
commit 007fa7b83d
26 changed files with 1076 additions and 0 deletions
+30
View File
@@ -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 }}