Skip to content

Commit

Permalink
Update keycloak-operator to 25.0.1 (#549)
Browse files Browse the repository at this point in the history
* Update keycloak-operator to 25.0.1

* Use management port for Keycloak metrics

---------

Co-authored-by: mkjpryor <642657+mkjpryor@users.noreply.github.com>
Co-authored-by: Matt Pryor <matt@stackhpc.com>
  • Loading branch information
3 people authored Jul 8, 2024
1 parent df20425 commit f823ea5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion roles/keycloak/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ keycloak_ingress_spec: >-
}}
# The version of the Keycloak operator to install
keycloak_operator_version: 24.0.4
keycloak_operator_version: 25.0.1
# The base URL for the Keycloak operator manifests
keycloak_operator_base_url: https://raw.githubusercontent.com/keycloak/keycloak-k8s-resources

Expand Down
7 changes: 4 additions & 3 deletions roles/keycloak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@
- name: Install metrics service for Keycloak
command: kubectl apply -f -
args:
stdin: "{{ keycloak_servicemonitor_definition | to_nice_yaml }}"
stdin: "{{ keycloak_service_definition | to_nice_yaml }}"
vars:
keycloak_servicemonitor_definition:
keycloak_service_definition:
apiVersion: v1
kind: Service
metadata:
Expand All @@ -145,7 +145,8 @@
clusterIP: None
ports:
- name: metrics
port: 8080
port: 9000
targetPort: management
selector:
app.kubernetes.io/managed-by: keycloak-operator
app: "{{ keycloak_name }}"
Expand Down

0 comments on commit f823ea5

Please sign in to comment.