---
# kubectl apply -k core/.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  # pv-pvc.yaml is intentionally absent: the PersistentVolume set is one-per-replica, so it is
  # generated from the effective replica count by MongoBootstrap.applyReplicaVolumes() and applied
  # just before this kustomization. A static file can only describe a fixed number of members, and
  # any --replicas above it leaves the surplus claims unbindable.
  - headless-service.yaml
  - statefulset.yaml
  # - backup-pv-pvc.yaml
  # - backup-cronjob.yaml
  # - backup-access.yaml
