Skip to content

Commit

Permalink
update output for discovery_url
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Apr 21, 2025
1 parent b4cf4ac commit 866804d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions charts/keycloakx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ The following table lists the configurable parameters of the Keycloak-X chart an
| `networkPolicy.enabled` | If true, the ingress network policy is deployed | `false`
| `networkPolicy.extraFrom` | Allows to define allowed external ingress traffic (see Kubernetes doc for network policy `from` format) | `[]`
| `networkPolicy.egress` | Allows to define allowed egress from Keycloak pods (see Kubernetes doc for network policy `egress` format) | `[]`
| `route.enabled` | If `true`, an OpenShift Route is created | `false` |
| `route.enabled` | If `true`, rean OpenShift Route is created | `false` |
| `route.path` | Path for the Route | `/` |
| `route.annotations` | Route annotations | `{}` |
| `route.labels` | Additional Route labels | `{}` |
Expand Down Expand Up @@ -593,4 +593,3 @@ Keycloak 18.0.0 allows to enable the health endpoint independently of the metric
We reflect that via the new config option `health.enabled`.

Please read the additional notes about [Migrating to 18.0.0](https://www.keycloak.org/docs/latest/upgrading/index.html#migrating-to-18-0-0) in the Keycloak documentation.

2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ output "provider_config" {

output "discovery_url" {
description = "The URL for discovering keycloak services."
value = "${module.ingress_resources.service_url}/auth/realms/master"
value = format("http://%v.%v.svc.cluster.local:%v/%v", var.service_name, var.keycloak_namespace, local.admin_internal_port_number, "auth/realms/master")
}

output "user_auth_realm" {
Expand Down

0 comments on commit 866804d

Please sign in to comment.