Commit fc5541b3 authored by William Tucker's avatar William Tucker
Browse files

Added theme configuration for Ansible IDP deployment

parent c67cb5f9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -25,3 +25,8 @@ idp_image_prefix: "{{ image_prefix }}"
idp_image_tag: "{{ image_tag }}"
idp_image_pull: "{{ image_pull }}"
idp_image_repository: keycloak

idp_environment:
  PROXY_ADDRESS_FORWARDING: "true"
  KEYCLOAK_IMPORT: "/opt/jboss/deploy/realm.json"
  KEYCLOAK_THEME_JAR_URL: "{{ theme_jar_url }}"
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
    name: idp
    image: "{{ idp_image_prefix }}/{{ idp_image_repository }}:{{ idp_image_tag }}"
    pull: "{{ idp_image_pull }}"
    env: "{{ idp_environment }}"
    detach: yes
    restart_policy: unless-stopped
    exposed_ports:
+5 −0
Original line number Diff line number Diff line
{
{% for key, value in realm.items() %}
    "{{ key }}": "{{ value }}",
{% endfor %}
}
+3 −0
Original line number Diff line number Diff line
@@ -8,4 +8,7 @@ metadata:
data:
  PROXY_ADDRESS_FORWARDING: "true"
  KEYCLOAK_IMPORT: "/opt/jboss/deploy/realm.json"
  {{- if $idp.themeJarUrl }}
  KEYCLOAK_THEME_JAR_URL: {{ $idp.themeJarUrl | b64enc | quote }}
  {{- end }}
{{- end }}