apiVersion: v1 kind: ConfigMap metadata: name: {{ include "covidok.appsettings" . }} data: appsettings.k8s.json: | { "ConnectionStrings": { "MySQLDatabase": "server={{- include "covidok.mysql" . -}};database={{ .Values.config.mysql.database }};user={{ .Values.config.mysql.user }};password={{ .Values.config.mysql.password }}", "RedisHost": "{{ include "covidok.redis" . }}:{{ .Values.config.redis.port }}" }, "MinioSettings": { "HostName": "{{ include "covidok.minio" . }}", "AccessKey": "{{ .Values.config.minio.accesskey }}", "SecretKey": "{{ .Values.config.minio.secretkey }}" } }