mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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>
27 lines
728 B
YAML
Executable File
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
|