# krply-server Helm values.

image:
  repository: ghcr.io/krply/krply-server
  tag: dev
  pullPolicy: IfNotPresent

imagePullSecrets: []

nameOverride: ""
fullnameOverride: ""

store:
  # Path of the SQLite journal inside the container. It must live under /data,
  # which is the volume mounted for the store.
  path: /data/krply.db
  # The journal is the primary data of krply, so a PersistentVolumeClaim is the
  # default. Set enabled: false to use an emptyDir (ephemeral, lost on restart).
  persistence:
    enabled: true
    storageClass: ""
    size: 1Gi

listen:
  port: 8080

service:
  type: ClusterIP
  port: 8080

# The krply-server ServiceAccount needs no RBAC (it reads the journal and
# resolves the target cluster through its in-cluster configuration). Enable
# recorder.create only when a `krply record` agent runs in this chart.
rbac:
  recorder:
    create: false

replicaCount: 1

resources: {}
  # requests:
  #   cpu: 100m
  #   memory: 128Mi
  # limits:
  #   cpu: 500m
  #   memory: 512Mi

nodeSelector: {}

tolerations: []

affinity: {}
