image:
  repository: tccr.io/truecharts/van-dam
  pullPolicy: IfNotPresent
  tag: v0.53.0@sha256:2b018bb41c253810ba9d01fe6764dc30a2ff653444007d383f85c6537c6cc358

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsUser: 0
    runAsGroup: 0

service:
  main:
    ports:
      main:
        protocol: http
        targetPort: 3214
        port: 3214

workload:
  main:
    podSpec:
      containers:
        main:
          env:
            DATABASE_URL:
              secretKeyRef:
                name: cnpg-main-urls
                key: std
            REDIS_URL:
              secretKeyRef:
                expandObjectName: false
                name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
                key: url
            SECRET_KEY_BASE:
              secretKeyRef:
                name: vandam-secrets
                key: SECRET_KEY_BASE

persistence:
  libraries:
    enabled: true
    mountPath: "/libraries"

cnpg:
  main:
    enabled: true
    user: vandam
    database: vandam

redis:
  enabled: true

portal:
  open:
    enabled: true
