Files
Peter Belko f3c377b91c Add missing config params supported by Prisma docker image (#21807)
Prisma server docker image supports 3 additional parameters
which are not possible to set through Helm chart:
* database name
* SSL enabled flag
* max open DB connections

Signed-off-by: Peter Belko <peter.belko@gmail.com>
2020-04-14 15:12:03 -07:00

27 lines
728 B
YAML
Executable File

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "prisma.fullname" . }}
labels:
app: {{ template "prisma.name" . }}
chart: {{ template "prisma.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
config: |
port: 4466
{{- if .Values.auth.enabled }}
managementApiSecret: $PRISMA_API_SECRET
{{- end }}
databases:
default:
connector: $PRISMA_DB_CONNECTOR
host: $PRISMA_DB_HOST
port: $PRISMA_DB_PORT
user: $PRISMA_DB_USER
password: $PRISMA_DB_PASSWORD
migrations: $PRISMA_DB_MIGRATIONS
database: $PRISMA_DB_NAME
ssl: $PRISMA_DB_SSL
connectionLimit: $PRISMA_DB_CONNECTIONLIMIT