image:
  repository: tccr.io/truecharts/awesome-ttrss
  pullPolicy: IfNotPresent
  tag: v2022-04@sha256:9c7257b4c850698b320e306f28d97c1aed7f6831bec4a1fc9f7698e698e65da8

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

persistence:
  icons:
    enabled: true
    mountPath: "/var/www/feed-icons"
  plugins:
    enabled: true
    mountPath: "/var/www/plugins.local"
  themes:
    enabled: true
    mountPath: "/var/www/themes.local"

env:
  # -- External URL you use to connect to the RSS (the one you enter in your browser)
  SELF_URL_PATH: ""
  DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
  DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
  DB_PORT: "5432"
  DB_PASS:
    secretKeyRef:
      name: dbcreds
      key: postgresql-password
  DB_HOST:
    secretKeyRef:
      name: dbcreds
      key: plainhost

service:
  main:
    ports:
      main:
        port: 10246
        targetPort: 80

postgresql:
  enabled: true
  existingSecret: "dbcreds"
  postgresqlUsername: awesome-ttrss
  postgresqlDatabase: awesome-ttrss

portal:
  enabled: true
