# Adds namespace to all resources.
namespace: kube-system

# Each entry in this list must resolve to an existing
# resource definition in YAML.  These are the resource
# files that kustomize reads, modifies and emits as a
# YAML string, with resources separated by document
# markers ("---").
resources:
- install/01_clusterautoscaler.crd.yaml
- install/02_machineautoscaler.crd.yaml
- install/03_rbac.yaml
- install/04_service.yaml
- install/05_configmap.yaml
- install/07_deployment.yaml

secretGenerator:
- name: cluster-autoscaler-operator-cert
  files:
  - tls.crt=test/insecure-test-cert.pem
  - tls.key=test/insecure-test-key.pem
  type: kubernetes.io/tls

generatorOptions:
  disableNameSuffixHash: true

patches:
- test/cluster-autoscaler-operator-patch.yaml
