apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

# Cloud-agnostic base for Vulcan CI, distributed via get.vulcan-ci.io.
# Write an overlay against this base to patch the image registry/tag,
# ingress, storage class, managed database, and identity.

namespace: vulcan

labels:
  - includeSelectors: false
    pairs:
      app.kubernetes.io/part-of: vulcan-ci

resources:
  - namespace.yaml
  - serviceaccounts.yaml
  - configmap.yaml
  - forge-backend.yaml
  - automata-worker.yaml
  - postgres.yaml
  - networkpolicy.yaml

# Overlays override these with their registry + immutable digest/tag.
images:
  - name: vulcan-forge-backend
    newName: ghcr.io/vulcan-ci/vulcan-forge-backend
    newTag: latest
  - name: vulcan-automata
    newName: ghcr.io/vulcan-ci/vulcan-automata
    newTag: latest
