1bbf689821
- use official v0.3.13 docker images hosted on GitHub - load configs for Element-Call (public/config.json), nginx and SSL certs through ConfigMaps / PersistentVolumeClaims
37 lines
658 B
YAML
37 lines
658 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: app-config
|
|
namespace: default
|
|
data:
|
|
{{ .Values.config.fileName }}: |
|
|
{{ .Values.config.data | toPrettyJson | quote }}
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: nginx-config
|
|
namespace: default
|
|
data:
|
|
default.conf: {{ .Files.Get "files/nginx.conf" | quote }}
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: ssl-cert
|
|
namespace: default
|
|
data:
|
|
element-call.crt: {{ .Files.Get "certs/element-call.crt" | quote }}
|
|
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: ssl-key
|
|
namespace: default
|
|
data:
|
|
element-call.key: {{ .Files.Get "certs/element-call.key" | quote }}
|