Configure keycloakx;Convert output to yaml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2023-04-11 10:40:33 +02:00
parent 75277e285a
commit ee08fd47b5
2 changed files with 12 additions and 2 deletions

View File

@ -24,7 +24,7 @@
- name: Write chart values to file
ansible.builtin.copy:
dest: /opt/workloadcluster/git-repositories/gitops/values/{{ item.key }}/values.yaml
content: "{{ item.value.chart_values | default('# Empty') }}"
content: "{{ item.value.chart_values | default('# Empty') | to_nice_yaml(indent=2, width=4096) }}"
loop: "{{ query('ansible.builtin.dict', downstream_components) }}"
loop_control:
label: "{{ item.key }}"

View File

@ -221,9 +221,19 @@ components:
value: admin
- name: KEYCLOAK_ADMIN_PASSWORD
value: {{ vapp['metacluster.password'] }}
- name: KC_PROXY
value: "passthrough"
- name: JAVA_OPTS_APPEND
value: >-
-Djgroups.dns.query={{ include "keycloak.fullname" . }}-headless
-Djgroups.dns.query={% raw %}{{ include "keycloak.fullname" . }}{% endraw %}-headless
ingress:
enabled: true
rules:
- host: keycloak.{{ vapp['metacluster.fqdn'] }}
paths:
- path: /
pathType: Prefix
tls: []
kube-prometheus-stack:
helm: