image:
  repository: tccr.io/truecharts/flatnotes
  tag: 2.1.1@sha256:b187dfce544d1d01d968a7697124127d6a88f361a783d71773db63fd9ab1a666
  pullPolicy: IfNotPresent

podSecurityContext:
  runAsUser: 1000
  runAsGroup: 1000

secretEnv:
  FLATNOTES_USERNAME: "user"
  FLATNOTES_PASSWORD: "pass"

env:
  FLATNOTES_SECRET_KEY:
    secretKeyRef:
      name: '{{ (include "tc.common.names.fullname" .) }}-secret'
      key: FLATNOTES_SECRET_KEY
  # User Defined
  FLATNOTES_SESSION_EXPIRY_DAYS: 30

service:
  main:
    ports:
      main:
        port: 10350
        protocol: HTTP
        targetPort: 80

persistence:
  data:
    enabled: true
    mountPath: "/app/data"

portal:
  enabled: true
