add ingress for keycloak

This commit is contained in:
James Andariese 2023-07-15 22:13:28 -05:00
parent 4d9841ef93
commit 0adae37365

27
keycloak/ingress.yaml Normal file
View File

@ -0,0 +1,27 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: keycloak-cascade
namespace: keycloak
annotations:
haproxy-ingress.github.io/ssl-redirect: "true"
haproxy-ingress.github.io/secure-backends: "true"
haproxy-ingress.github.io/timeout-client: 5m
haproxy-ingress.github.io/timeout-server: 5m
spec:
ingressClassName: haproxy
rules:
- host: auth.werts.us
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: cascade-service
port:
number: 443
tls:
- hosts:
- auth.werts.us
secretName: wildcard-tls