diff --git a/tenants/plataforma/20-keycloak.yaml b/tenants/plataforma/20-keycloak.yaml index 429cfae..7da595e 100644 --- a/tenants/plataforma/20-keycloak.yaml +++ b/tenants/plataforma/20-keycloak.yaml @@ -96,6 +96,15 @@ spec: - name: theme-athleticmapv2 mountPath: /opt/keycloak/themes/athleticmap-v2/login readOnly: true + # O tema de E-MAIL, no mesmo `athleticmap-v2`. + # + # Sao quatro arquivos em tres diretorios, e ConfigMap nao tem + # diretorio: as chaves sao achatadas e o `items[].path` do volume + # remonta a hierarquia. Gerado por + # scripts/tema_email_athleticmap.py. + - name: email-athleticmapv2 + mountPath: /opt/keycloak/themes/athleticmap-v2/email + readOnly: true volumes: - name: realm-import configMap: @@ -103,6 +112,16 @@ spec: - name: theme-athleticmapv2 configMap: name: kc-theme-athleticmapv2 + - name: email-athleticmapv2 + configMap: + name: kc-email-athleticmapv2 + # Os caminhos TEM de bater com o mapa ARQUIVOS do gerador. + items: + - { key: theme.properties, path: theme.properties } + - { key: template.ftl, path: html/template.ftl } + - { key: executeActions.ftl, path: html/executeActions.ftl } + - { key: messages_pt_BR.properties, path: messages/messages_pt_BR.properties } + - { key: messages_en.properties, path: messages/messages_en.properties } --- apiVersion: v1 kind: Service