mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-20 04:18:51 +02:00
added custom keykloak ingress with pathType Prefix
This commit is contained in:
parent
a5d6d222d3
commit
bc9c8d1584
22
apps/keycloak/ingress.yaml
Normal file
22
apps/keycloak/ingress.yaml
Normal 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
|
|
@ -6,6 +6,7 @@ metadata:
|
|||
spec:
|
||||
instances: 1
|
||||
hostname: id.localhost
|
||||
disableDefaultIngress: true
|
||||
serverConfiguration:
|
||||
- name: db
|
||||
value: postgres
|
||||
|
|
|
@ -6,4 +6,5 @@ resources:
|
|||
- subscription.yaml
|
||||
- database.yaml
|
||||
- instance.yaml
|
||||
- realm.yaml
|
||||
- ingress.yaml
|
||||
# - realm.yaml
|
||||
|
|
Loading…
Reference in a new issue