replicaCount: 1

podAnnotations:
  dapr.io/app-id: "prod-atlantis"

env:
  - name: APP_NAMESPACE
    value: prod-atlantis
  - name: APP_VERSION
    value: "2.97.4"
  - name: LOG_LEVEL
    value: "2"
  - name: ANALYTICS_WEB_ID
    value: "16e7d807-4db5-45fd-92a9-27393445a153"
  - name: REDIS_USER
    value: default
  - name: REDIS_PASSWORD
    valueFrom:
      secretKeyRef:
        name: prod-atlantis-redis
        key: redis-password
  - name: DB_HOST
    value: prod-atlantis-db-rw
  - name: DB_PORT
    value: "5432"
  - name: DB_USER
    valueFrom:
      secretKeyRef:
        name: prod-atlantis-db-superuser
        key: username
  - name: DB_PASSWORD
    valueFrom:
      secretKeyRef:
        name: prod-atlantis-db-superuser
        key: password
  - name: DAPR_API_TOKEN
    valueFrom:
      secretKeyRef:
        name: dapr-api-token
        key: token

ingress:
  enabled: true
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-production
    nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
  hosts:
    - host: maps.oceanbox.io
      paths:
        - path: /
          pathType: ImplementationSpecific
      internal:
        - path: /internal
          pathType: ImplementationSpecific
        - path: /dapr
          pathType: ImplementationSpecific
        - path: /actors
          pathType: ImplementationSpecific
        - path: /job
          pathType: ImplementationSpecific
        - path: /events
          pathType: ImplementationSpecific
        - path: /metrics
          pathType: ImplementationSpecific
  tls:
    - hosts:
       - maps.oceanbox.io
      secretName: prod-atlantis-tls

cluster:
  instances: 2
  bootstrap:
    enabled: false

resources:
  limits:
    cpu: 1
    memory: 1Gi
  requests:
    cpu: 500m
    memory: 1Gi
