# infrastructure/resource-guardrails/limitranges.yaml
apiVersion: v1
kind: List
items:
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: ai
    spec: &defaultCompute
      limits:
        - type: Container
          defaultRequest:
            cpu: 50m
            memory: 96Mi
          default:
            cpu: 500m
            memory: 512Mi
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: bstein-dev-home
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: cert-manager
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: climate
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: comms
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: crypto
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: finance
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: gitea
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: harbor
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: health
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: jellyfin
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: jenkins
    spec:
      limits:
        - type: Container
          defaultRequest:
            cpu: 25m
            memory: 256Mi
          default:
            cpu: 1500m
            memory: 2Gi
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: logging
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: mailu-mailserver
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: maintenance
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: metallb-system
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: monitoring
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: nextcloud
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: outline
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: openclaw
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: planka
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: postgres
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: quality
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: sso
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: sui-metrics
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: traefik
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: vault
    spec: *defaultCompute
  - apiVersion: v1
    kind: LimitRange
    metadata:
      name: atlas-default-compute
      namespace: vaultwarden
    spec: *defaultCompute
