diff --git a/charts/stable/nocodb/Chart.yaml b/charts/stable/nocodb/Chart.yaml index db499bde026..6d002b36e64 100644 --- a/charts/stable/nocodb/Chart.yaml +++ b/charts/stable/nocodb/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: "0.107.5" +appVersion: "0.111.4" dependencies: - name: common repository: https://library-charts.truecharts.org - version: 14.0.1 + version: 14.0.6 - condition: redis.enabled name: redis repository: https://deps.truecharts.org @@ -22,7 +22,7 @@ name: nocodb sources: - https://github.com/truecharts/charts/tree/master/charts/stable/nocodb - https://github.com/nocodb/nocodb -version: 8.0.0 +version: 9.0.0 annotations: truecharts.org/catagories: | - productivity diff --git a/charts/stable/nocodb/questions.yaml b/charts/stable/nocodb/questions.yaml index 8888b0e990f..da521424f01 100644 --- a/charts/stable/nocodb/questions.yaml +++ b/charts/stable/nocodb/questions.yaml @@ -44,18 +44,6 @@ questions: schema: type: string default: "" - - variable: NC_GOOGLE_CLIENT_ID - label: "Google Client ID" - description: "Google client id to enable google authentication." - schema: - type: string - default: "" - - variable: NC_GOOGLE_CLIENT_SECRET - label: "Google Client Secret" - description: "Google client secret to enable google authentication." - schema: - type: string - default: "" - variable: NC_PUBLIC_URL label: "Public URL" description: "Used for sending Email invitations." diff --git a/charts/stable/nocodb/templates/_secrets.tpl b/charts/stable/nocodb/templates/_secrets.tpl index dd398c7be58..fef30264207 100644 --- a/charts/stable/nocodb/templates/_secrets.tpl +++ b/charts/stable/nocodb/templates/_secrets.tpl @@ -1,14 +1,12 @@ {{/* Define the secrets */}} {{- define "nocodb.secrets" -}} -{{- $nocodbprevious := lookup "v1" "Secret" .Release.Namespace "nocodb-secrets" }} -{{- $auth_jwt_token := "" }} +{{- $secretName := printf "%s-secrets" (include "tc.v1.common.lib.chart.names.fullname" .) }} + +{{- $auth_jwt_token := randAlphaNum 32 -}} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}} + {{- $auth_jwt_token = index .data "NC_AUTH_JWT_SECRET" | b64dec -}} +{{- end }} enabled: true data: - {{- if $nocodbprevious}} - NC_AUTH_JWT_SECRET: {{ index $nocodbprevious.data "NC_AUTH_JWT_SECRET" | b64dec }} - {{- else }} - {{- $auth_jwt_token := randAlphaNum 32 }} NC_AUTH_JWT_SECRET: {{ $auth_jwt_token }} - {{- end }} - {{- end -}} diff --git a/charts/stable/nocodb/values.yaml b/charts/stable/nocodb/values.yaml index f0da4c8ed3b..299d5329268 100644 --- a/charts/stable/nocodb/values.yaml +++ b/charts/stable/nocodb/values.yaml @@ -1,34 +1,15 @@ image: repository: tccr.io/truecharts/nocodb - tag: v0.107.5@sha256:4a64e56115720169bc63ed179959c8a63a98678dda846e37f6079a524758751c + tag: v0.111.4@sha256:3658f91d239ca8752cdde9678bf38fc032acbfcfcd568f7230f5f047ce449eb9 pullPolicy: IfNotPresent -service: - main: - ports: - main: - port: 10226 -persistence: - data: - enabled: true - mountPath: "/usr/app/data" -cnpg: - main: - enabled: true - user: nocodb - database: nocodb -redis: - enabled: true - -portal: - open: - enabled: true securityContext: container: readOnlyRootFilesystem: false runAsNonRoot: false runAsUser: 0 runAsGroup: 0 + workload: main: podSpec: @@ -70,5 +51,28 @@ workload: AWS_SECRET_ACCESS_KEY: "" AWS_BUCKET: "" AWS_BUCKET_PATH: "" - NC_GOOGLE_CLIENT_ID: "" - NC_GOOGLE_CLIENT_SECRET: "" + +service: + main: + ports: + main: + port: 10226 + +persistence: + data: + enabled: true + mountPath: "/usr/app/data" + +cnpg: + main: + enabled: true + user: nocodb + database: nocodb + +redis: + enabled: true + redisUsername: default + +portal: + open: + enabled: true diff --git a/cspell.config.yaml b/cspell.config.yaml index f3defdda3a0..64299a1ff09 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -130,6 +130,7 @@ words: - letsencrypt - lidarr - linkwallet + - Litestream - loadbalancer - localcnamerecords - localdnsrecords @@ -176,6 +177,7 @@ words: - nitter - nobind - nocaptcha + - nocodb - nodeport - nodeports - nohardlinks