Skip to content

Commit

Permalink
Add _internal only_ auth.yoma.world
Browse files Browse the repository at this point in the history
* For admin use

Add App Root annotation to internal Prod

* Automatically redirect `auth.yoma.world` to `auth.yoma.world/auth`
  • Loading branch information
rblaine95 committed Apr 25, 2024
1 parent 459036d commit d670799
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
5 changes: 4 additions & 1 deletion helm/keycloak/conf/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ ingress:
- host: dev.yoma.world
paths:
- path: /auth

internal-admin:
enabled: true
rules:
- host: auth.dev.yoma.world
external:
enabled: false
rules:
Expand Down
4 changes: 4 additions & 0 deletions helm/keycloak/conf/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ ingress:
- host: yoma.world
paths:
- path: /auth
internal-admin:
enabled: true
rules:
- host: auth.yoma.world
external:
enabled: true
rules:
Expand Down
4 changes: 4 additions & 0 deletions helm/keycloak/conf/stage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ ingress:
- host: stage.yoma.world
paths:
- path: /auth
internal-admin:
enabled: true
rules:
- host: auth.stage.yoma.world
external:
enabled: true
rules:
Expand Down
9 changes: 8 additions & 1 deletion helm/keycloak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ ingress:
- host: example.com
paths:
- path: /auth

internal-admin:
enabled: false
annotations:
nginx.ingress.kubernetes.io/app-root: /auth
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
className: nginx-internal
rules:
- host: auth.example.com
external:
enabled: false
annotations:
Expand Down

0 comments on commit d670799

Please sign in to comment.