element-call/helm-chart/templates/configmap.yaml
Johannes Meixner 1bbf689821 Improve Helm Chart
- 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
2023-07-10 17:21:02 +02:00

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 }}