# yaml-language-server: $schema=./values.schema.json
image:
  repository: docker.io/archivebox/archivebox
  pullPolicy: IfNotPresent
  tag: latest@sha256:fdf2936192aa1e909b0c3f286f60174efa24078555be4b6b90a07f2cef1d4909

config:
  admin_username: "admin"
  admin_password: "changeme"

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsGroup: 0
    runAsUser: 0

service:
  main:
    ports:
      main:
        port: 9598
        protocol: http
        targetPort: 8000

workload:
  main:
    podSpec:
      containers:
        main:
          probes:
            liveness:
              type: http
              path: /health/
          env:
            ADMIN_USERNAME: "{{ .Values.config.admin_username }}"
            ADMIN_PASSWORD: "{{ .Values.config.admin_password }}"

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