From d3b4f2c08bbf96af0841f9799817f0163b45d345 Mon Sep 17 00:00:00 2001 From: rawlingsj Date: Mon, 19 Feb 2018 10:42:52 +0000 Subject: [PATCH] add exposecontroller configmap so we can expose apps in environments --- env/templates/exposecontroller-configmap.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 env/templates/exposecontroller-configmap.yaml diff --git a/env/templates/exposecontroller-configmap.yaml b/env/templates/exposecontroller-configmap.yaml new file mode 100644 index 0000000..abe2ea0 --- /dev/null +++ b/env/templates/exposecontroller-configmap.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +data: + config.yml: |- + exposer: Ingress +{{- if .Values.exposecontroller.domain }} + domain: {{ .Values.exposecontroller.domain }} +{{- end }} +{{- if .Values.exposecontroller.http }} + http: {{ .Values.exposecontroller.http }} +{{- end }} +{{- if .Values.exposecontroller.tls-acme }} + tls-acme: {{ .Values.exposecontroller.tls-acme }} +{{- end }} +kind: ConfigMap +metadata: + name: exposecontroller \ No newline at end of file