image:
  repository: tccr.io/truecharts/nocodb
  tag: v0.107.5@sha256:4a64e56115720169bc63ed179959c8a63a98678dda846e37f6079a524758751c
  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:
      containers:
        main:
          probes:
            liveness:
              path: "/dashboard"
            readiness:
              path: "/dashboard"
            startup:
              path: "/dashboard"
          envFrom:
            - configMapRef:
                name: configmap
          env:
            PORT: "{{ .Values.service.main.ports.main.port }}"
            # User Defined
            NC_PUBLIC_URL: "http://localhost:10226"
            NC_DISABLE_TELE: true
            DISABLE_SPLASH_SCREEN: false
            NC_JWT_EXPIRES_IN: "10h"
            NC_INVITE_ONLY_SIGNUP: false
            NC_DISABLE_CACHE: false
            NC_DISABLE_ERR_REPORT: true
            NC_REQUEST_BODY_SIZE: "1MB"
            NC_EXPORT_MAX_TIMEOUT: 5000
            NC_SENTRY_DSN: ""
            NC_REDIS_URL:
              secretKeyRef:
                expandObjectName: false
                name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
                key: url
            NC_AUTH_JWT_SECRET:
              secretKeyRef:
                name: secrets
                key: NC_AUTH_JWT_SECRET
            AWS_ACCESS_KEY_ID: ""
            AWS_SECRET_ACCESS_KEY: ""
            AWS_BUCKET: ""
            AWS_BUCKET_PATH: ""
            NC_GOOGLE_CLIENT_ID: ""
            NC_GOOGLE_CLIENT_SECRET: ""
