* add labels and annotations to service monitor (serviceMonitorSpec)
closes#42626
Signed-off-by: Gilvan Filho <gilvan.sfilho@gmail.com>
* add labels and annotations to service monitor (serviceMonitorSpec)
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Gilvan Filho <gilvan.sfilho@gmail.com>
---------
Signed-off-by: Gilvan Filho <gilvan.sfilho@gmail.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
closes: #46633
* Add support for configurable Kubernetes Service port and name in Keycloak CRD
- Add serviceHttpPort and serviceHttpsPort fields to HttpSpec for configuring the service port independently of container port
- Add serviceName field to HttpSpec for customizing the service name
- Update KeycloakServiceDependentResource to use service ports with targetPort
- Update KeycloakClientBaseController to use service ports for admin URL
- Add unit tests and update test YAML
Co-authored-by: shawkins <2475669+shawkins@users.noreply.github.com>
* Remove HasMetadata getServiceName overload; add integration test for custom service name and port
Co-authored-by: shawkins <2475669+shawkins@users.noreply.github.com>
* refining the integration test
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Add documentation for configurable Service name and port in operator guide and release notes
Co-authored-by: shawkins <2475669+shawkins@users.noreply.github.com>
* Apply review suggestions to documentation wording
Co-authored-by: shawkins <2475669+shawkins@users.noreply.github.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: shawkins <2475669+shawkins@users.noreply.github.com>
Co-authored-by: Steve Hawkins <shawkins@redhat.com>
* Kubernetes Truststore moved to the server
Signed-off-by: Sebastian Łaskawiec <sebastian.laskawiec@gmail.com>
* Update quarkus/config-api/src/main/java/org/keycloak/config/TruststoreOptions.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
* addressing review comments and updating upgrade instructions
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* updating help command output
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Update docs/guides/server/keycloak-truststore.adoc
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Sebastian Łaskawiec <sebastian.laskawiec@gmail.com>
* Comments addressed
Signed-off-by: Sebastian Łaskawiec <sebastian.laskawiec@gmail.com>
* lint errors fix
Signed-off-by: Sebastian Łaskawiec <sebastian.laskawiec@gmail.com>
* Update docs/documentation/upgrading/topics/changes/changes-26_6_0.adoc
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Sebastian Łaskawiec <sebastian.laskawiec@gmail.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Currently when migration tasks are run, we see that the app startup fails with DB pool size 3 or less for JDBC_PING.
Hence, we started to validate that the minimal max pool size is 4 for JDBC PING.
Closes: https://github.com/keycloak/keycloak/issues/46673
Signed-off-by: Michal Vavřík <michal.vavrik@aol.com>
The documentation so far only mentions how to disable the ServiceMonitor, leading to the assumption that it is enabled by default.
Getting a service monitor created also requires enabling metrics in keycloak, though:
658faf210f/operator/src/main/java/org/keycloak/operator/controllers/KeycloakServiceMonitorDependentResource.java (L50)
While the missing setting creates a warning, the administrator should already have this information before applying the configuration.
Closes#45070
Signed-off-by: Jens Erat <email@jenserat.de>
* Including OTLP headers for tracing
Closes#41007
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* Polishing, add test for the util class, address review
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* Remove the WildcardOptionsUtil#isKcWildcardOption
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
---------
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* fix: allows for schedulings to be defined for operator jobs
closes: #42057
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Update docs/guides/operator/advanced-configuration.adoc
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
* fix: adding the ability to set the ingress tlsSecret
closes: #34777
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Apply suggestions from code review
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
* fix: adding a -- separator for spi options
closes: #39063
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* adding a warning for ambiguous spi options
also adding a note about the change
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
# Conflicts:
# docs/documentation/upgrading/topics/changes/changes-26_3_0.adoc
* updating docs to the new format
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
# Conflicts:
# docs/guides/high-availability/examples/generated/keycloak-ispn.yaml
# docs/guides/high-availability/examples/generated/keycloak.yaml
* internally using the new spi options
also adding a deprecation notice
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Apply suggestions from code review
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
* correcting options output
adding + + inlining where needed
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* adding test showing the env mapping with __
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Closes#36036
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Pedro Ruivo <pruivo@users.noreply.github.com>
* doc: adding a full example of overriding the startup probe timeout
closes: #35261
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
* Update docs/guides/operator/advanced-configuration.adoc
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
* Update docs/guides/operator/advanced-configuration.adoc
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
---------
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
Closes#36520
Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>