namespace: observability
replicaCount: 1

vendor: aws
region: us-west-2

image:
  repository: diagnosis-query
  tag: ""
  pullPolicy: IfNotPresent

serviceAccount:
  name: regional-server-controller-manager

service:
  type: ClusterIP
  port: 8081
  targetPort: 8081

resources:
  limits:
    cpu: "2"
    memory: 4Gi
  requests:
    cpu: "1"
    memory: 2Gi

persistence:
  storage: 10Gi
  storageClassName: ""

duckDB:
  switchAllEnabled: false
  switchTime: "0"
  grayTenantIds: []

env:
  topsqlOldClusters: ""
  BUCKET_NAME: ""
  podMemoryLimitsMB: true
  duckdbMemoryPercentage: "60"
  envFromSecret: ""
  storageAccount: ""

ingress:
  internal:
    enabled: true
    name: ""
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: /$2
      nginx.ingress.kubernetes.io/use-regex: "true"
    ingressClassName: nginx-read
    path: /internal/diagnosis(/|$)(.*)
    pathType: ImplementationSpecific
  external:
    enabled: true
    name: dataplane-diagnosis-query-read
    annotations:
      nginx.ingress.kubernetes.io/cors-allow-methods: GET
      nginx.ingress.kubernetes.io/cors-allow-origin: "*"
      nginx.ingress.kubernetes.io/enable-cors: "true"
      nginx.ingress.kubernetes.io/use-regex: "true"
    ingressClassName: nginx-read
    path: /([0-9a-fA-F-]{36})/diagnosis/(api/v1/.+)
    pathType: ImplementationSpecific

athena:
  # Empty workgroup derives o11y-olap-{logical_region} from BUCKET_NAME at runtime.
  workgroup: ""
  database: o11y-logs
  catalog: AwsDataCatalog
  outputLocation: ""
