image:
  repository: tccr.io/truecharts/timetagger
  tag: 23.2.1@sha256:7a6986fed279d1388f892f06360df1ab8c2f5f9c632728e4fc8fe92af1134059
  pullPolicy: IfNotPresent

securityContext:
  readOnlyRootFilesystem: false
  runAsNonRoot: false

podSecurityContext:
  runAsUser: 0
  runAsGroup: 0

secretEnv:
  tg_user: "admin"
  tg_pass: "changeme"
  TIMETAGGER_CREDENTIALS: "{{ htpasswd .Values.secretEnv.tg_user .Values.secretEnv.tg_pass }}"

env:
  TIMETAGGER_BIND: "0.0.0.0:{{ .Values.service.main.ports.main.port }}"
  TIMETAGGER_LOG_LEVEL: "info"

service:
  main:
    ports:
      main:
        port: 10286

persistence:
  config:
    enabled: true
    mountPath: "/root/_timetagger"

portal:
  enabled: true
