#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#

image:
  # -- image repository
  repository: ghost
  # -- image tag
  # @default -- chart.appVersion
  tag:
  # -- image pull policy
  pullPolicy: IfNotPresent

# See https://ghost.org/docs/config/#running-ghost-with-config-env-variables
env:
  url: "https://cinema.kluster.moll.re"
  database__client: sqlite3
  database__connection__filename: "content/data/ghost-data.db"
  database__useNullAsDefault: true,
  database__debug: false
  NODE_ENV: production

# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
  main:
    ports:
      http:
        port: 2368



ingress:
  # -- Enable and configure ingress settings for the chart under this key.
  # @default -- See values.yaml
  main:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: nginx
      cert-manager.io/cluster-issuer: cloudflare-letsencrypt-prod
    hosts:
    - host: cinema.kluster.moll.re
      paths:
        - path: /
          pathType: Prefix
    tls:
    - hosts:
      - cinema.kluster.moll.re
      secretName: cloudflare-letsencrypt-issuer-account-key

# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
  content:
    enabled: true
    existingClaim: mathieu-nfs

mariadb:
  enabled: false
  architecture: standalone
  auth:
    database: ghost
    username: ghost
    password: ghost
    rootPassword: ghost-rootpass
  primary:
    persistance:
      enabled: false