image:
  repository: tccr.io/truecharts/tt-rss
  pullPolicy: IfNotPresent
  tag: v2.0.9113@sha256:ef3e084ba91d3e9ed32af6b948e17c88e33223fa80ffe5c8bb4d5dac9aa0e9b9
service:
  main:
    ports:
      main:
        port: 10104
        targetPort: 8080
persistence:
  config:
    enabled: true
    mountPath: /config
  plugins:
    enabled: true
    mountPath: /app/plugins.local
  themes:
    enabled: true
    mountPath: /app/themes.local
cnpg:
  main:
    enabled: true

    user: tt-rss
    database: tt-rss
portal:
  open:
    enabled: true
securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsUser: 0
    runAsGroup: 0
workload:
  main:
    podSpec:
      containers:
        main:
          probes:
            liveness:
              type: tcp
            readiness:
              type: tcp
            startup:
              type: tcp
          env:
            TTRSS_SELF_URL_PATH: ""
            TTRSS_DB_NAME: "{{ .Values.cnpg.main.database }}"
            TTRSS_DB_USER: "{{ .Values.cnpg.main.user }}"
            TTRSS_DB_PORT: "5432"
            TTRSS_DB_PASS:
              secretKeyRef:
                name: cnpg-main-user
                key: password
            TTRSS_DB_HOST:
              secretKeyRef:
                name: cnpg-main-urls
                key: host
