add ingress for keycloak
This commit is contained in:
parent
4d9841ef93
commit
0adae37365
27
keycloak/ingress.yaml
Normal file
27
keycloak/ingress.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user