image:
  repository: gitea.coulomb.social/coulomb/state-hub
  tag: ""
  pullPolicy: IfNotPresent

imagePullSecrets: []

replicaCount: 1

namespace:
  create: true
  labels:
    railiance.io/postgres-client: state-hub-db
    railiance.io/layer: s5-app

service:
  type: ClusterIP
  port: 8000
  targetPort: 8000

config:
  enabled: true
  name: state-hub-config
  corsOrigins: "http://localhost:3000,http://127.0.0.1:3000,http://localhost:3001,http://127.0.0.1:3001"

secret:
  name: state-hub-env

resources:
  requests:
    cpu: 250m
    memory: 512Mi
  limits:
    cpu: 1000m
    memory: 2Gi

ingress:
  enabled: false
  className: traefik
  host: state-hub.coulomb.social
  tls: true
  annotations:
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    traefik.ingress.kubernetes.io/router.tls: "true"
    cert-manager.io/cluster-issuer: letsencrypt-prod

probes:
  enabled: true
  path: /state/health
  port: 8000
  liveness:
    initialDelaySeconds: 30
    periodSeconds: 30
    timeoutSeconds: 5
    failureThreshold: 3
  readiness:
    initialDelaySeconds: 10
    periodSeconds: 10
    timeoutSeconds: 5
    failureThreshold: 3

podSecurityContext: {}
securityContext: {}

nodeSelector: {}
tolerations: []
affinity: {}