diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/configmap.yaml | 26 | ||||
-rw-r--r-- | templates/deployment.yaml | 12 |
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" |