Add ingress support for OIDC discovery provider

This patch enables exposing the oidc server out with an ingress
along with tests to ensure it works.

Signed-off-by: Kevin Fox <[email protected]>

Co-authored-by: Marco Franssen <[email protected]>
This commit is contained in:
Kevin Fox
2023-03-16 10:02:22 +01:00
committed by Marco Franssen
co-authored by Marco Franssen
parent eaed7c9b60
commit cc7121e021
6 changed files with 85 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
helm install ingress-nginx ingress-nginx --version 4.5.2 --repo https://kubernetes.github.io/ingress-nginx -n "$VALUES" --set controller.extraArgs.enable-ssl-passthrough=
kubectl wait --namespace ingress-nginx --for=condition=ready pod --selector=app.kubernetes.io/component=controller -n "$VALUES"
+10 -1
View File
@@ -6,7 +6,16 @@ spiffe-oidc-discovery-provider:
config:
domains:
- oidc-discovery.example.org
- ingress-nginx-controller
acme:
tosAccepted: false
ingress:
enabled: true
className: "nginx"
hosts:
- host: ingress-nginx-controller
paths:
- path: /
pathType: Prefix