summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2020-03-30 11:53:19 -0500
committerBrian Freeman <bf1936@att.com>2020-03-30 15:39:16 -0500
commitecdb684c5af677555f11a9a3f2c05b9f27070c06 (patch)
tree3be314362b51d9a0c1ef57b832bb9e3a4e210803 /templates
parenta8e1918a02156ecec86409948d400669c2e67bb7 (diff)
Add HTTPS config lighttpd
Issue-ID: REQ-231 Change-Id: I4e18eed4424414d820f3ed78dfe5b1fb959a8938 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/configmap.yaml26
-rw-r--r--templates/deployment.yaml12
2 files changed, 38 insertions, 0 deletions
diff --git a/templates/configmap.yaml b/templates/configmap.yaml
index a0d01ea..5b41aa4 100644
--- a/templates/configmap.yaml
+++ b/templates/configmap.yaml
@@ -24,3 +24,29 @@ metadata:
heritage: {{ .Release.Service }}
data:
{{ tpl (.Files.Glob "resources/config/eteshare/config/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-lighttpd-configmap
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ include "common.release" . }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/lighttpd/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "common.fullname" . }}-lighttpd-ssl-configmap
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.name" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+data:
+{{ tpl (.Files.Glob "resources/config/lighttpd/ssl/*").AsConfig . | indent 2 }}
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index 34c36e3..246acb3 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -68,6 +68,10 @@ spec:
readOnly: true
- name: robot-eteshare
mountPath: /share/config
+ - name: robot-lighttpd
+ mountPath: /etc/lighttpd
+ - name: robot-lighttpd-ssl
+ mountPath: /etc/lighttpd/ssl
- name: robot-logs
mountPath: /share/logs
resources:
@@ -98,5 +102,13 @@ spec:
configMap:
name: {{ include "common.fullname" . }}-eteshare-configmap
defaultMode: 0755
+ - name: robot-lighttpd
+ configMap:
+ name: {{ include "common.fullname" . }}-lighttpd-configmap
+ defaultMode: 0755
+ - name: robot-lighttpd-ssl
+ configMap:
+ name: {{ include "common.fullname" . }}-lighttpd-ssl-configmap
+ defaultMode: 0600
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"