Skip to content

Commit

Permalink
fix: add ingress annotations for keycloak (#1890)
Browse files Browse the repository at this point in the history
fixes: #1839

Reviewed-by: Oleksandr K.
  • Loading branch information
mpiscaer authored Oct 25, 2024
1 parent bf5b320 commit f2ab55e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions roles/keycloak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@
ingress_service_name: "{{ keycloak_helm_release_name }}"
ingress_service_port: 80
ingress_secret_name: "{{ keycloak_host_tls_secret_name }}"
ingress_annotations:
cert-manager.io/cluster-issuer: "{{ keycloak_ingress_cluster_issuer }}"
ingress_annotations: "{{ _keycloak_ingress_annotations | combine(keycloak_ingress_annotations, recursive=True) }}"

- name: Enable pxc strict mode
run_once: true
Expand Down
3 changes: 3 additions & 0 deletions roles/keycloak/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.

_keycloak_ingress_annotations:
cert-manager.io/cluster-issuer: "{{ keycloak_ingress_cluster_issuer }}"

_keycloak_helm_values:
# NOTE(mnaser): These workarounds below are needed to allow the Bitnami Helm chart to work with
# the upstream image.
Expand Down

0 comments on commit f2ab55e

Please sign in to comment.