Files
truecharts/charts/incubator/nocodb/templates/_configmap.tpl
T
Stavros KoisandGitHub 8a47a6bddf feat(apps): add 5 apps, fix babybuddy rofs (#2501)
* feat(audiobookshelf): add audiobookshelf

* root

* remove audiobookshelf from dev

* image

* feat(fluidd): add fluidd

* rootless audiobook

* feat(rss-brdige): add rss-bridge

* feat(nocodb): add nocodb

* root rss-brdige

* nocodb add redis

* ui and fix configmap

* change db url

* remove probe paths

* comment jwt for now

* add jwt_token

* other url

* db url

* other way for db url

* try different port

* whoops

* quote

* printf

* quotes

* feat(ddns-updater): add ddns-updater

* cleanups

* fix(babybuddy): rofs instead of allopriv esca

* skip installint storj-node, needs identity file to be created before

* whoops
2022-04-18 06:29:33 +00:00

15 lines
475 B
Smarty

{{- define "nocodb.configmap" -}}
{{- $pgPass := .Values.postgresql.postgresqlPassword | trimAll "\"" }}
{{- $pgUser := .Values.postgresql.postgresqlUsername }}
{{- $pgDB := .Values.postgresql.postgresqlDatabase }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nocodb-configmap
data:
NC_DB: "{{ printf "pg://%v-postgresql:5432?u=%v&p=%v&d=%v" .Release.Name $pgUser $pgPass $pgDB }}"
NC_MIN: "{{ ternary "true" "" .Values.env.DISABLE_SPLASH_SCREEN }}"
{{- end -}}