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

resources:
  - rbac.yaml
  - deployment.yaml

# Generate the config ConfigMap with a content-hash suffix so the Deployment
# auto-rolls whenever config.yaml changes (no manual rollout restart needed).
configMapGenerator:
  - name: bin-pack-scheduler-config
    namespace: kube-system
    files:
      - config.yaml

generatorOptions:
  labels:
    osdc.io/module: bin-pack-scheduler
