AlfrescoArchive / activiti-cloud-charts

Helm Charts for Activiti cloud Apps
Apache License 2.0
29 stars 28 forks source link

feat: add Jx GitOps env expose configuration template support #63

Closed igdianov closed 5 years ago

igdianov commented 5 years ago

This PR adds support for Jx GitOps environment Expose controller configuration values, so that environment configuration can be injected via templated global.gateway values, i.e.

## Allows to template gateway values from Jx Expose controller configuration in GitOps environment, i.e. 
expose: 
  config: 
    domain: 1.2.3.4.nip.io 
    http: "true" 
    tlsacme: "false" 

global: 
  keycloak:
    host: "activiti-keycloak.{{ tpl .Values.global.gateway.domain . }}"
  gateway: 
    domain: "{{ .Values.expose.config.domain }}" 
    http: "{{ .Values.expose.config.http }}" 
    tlsacme: "{{ .Values.expose.config.tlsacme }}"