added custom keykloak ingress with pathType Prefix

This commit is contained in:
Sebastian Wendel 2022-07-28 12:08:48 +02:00
parent a5d6d222d3
commit bc9c8d1584
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
3 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,22 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fcos-keycloak-ingress
namespace: keycloak
annotations:
kubernetes.io/ingress.class: nginx
labels:
app: keycloak
app.kubernetes.io/instance: fcos-keycloak
spec:
rules:
- host: id.localhost
http:
paths:
- backend:
service:
name: fcos-keycloak-service
port:
number: 8080
path: /
pathType: Prefix

View file

@ -6,6 +6,7 @@ metadata:
spec:
instances: 1
hostname: id.localhost
disableDefaultIngress: true
serverConfiguration:
- name: db
value: postgres

View file

@ -6,4 +6,5 @@ resources:
- subscription.yaml
- database.yaml
- instance.yaml
- realm.yaml
- ingress.yaml
# - realm.yaml