# This kustomization.yaml is not intended to be run by itself,
# since it depends on service name and namespace that are out of this kustomize package.
# It should be run by config/default
resources:
- bases/cloud.pingcap.com_providers.yaml
- bases/cloud.pingcap.com_providertypes.yaml
- bases/cloud.pingcap.com_networks.yaml
- bases/cloud.pingcap.com_networkpeers.yaml
- bases/cloud.pingcap.com_imports.yaml
- bases/cloud.pingcap.com_backups.yaml
- bases/cloud.pingcap.com_restores.yaml
- bases/cloud.pingcap.com_clusters.yaml
- bases/cloud.pingcap.com_infraapiconfigs.yaml
# - bases/cloud.pingcap.com_migrations.yaml
- bases/cloud.pingcap.com_clusterconfigs.yaml
- bases/cloud.pingcap.com_configrevisions.yaml
- bases/cloud.pingcap.com_ticdcs.yaml
- bases/cloud.pingcap.com_accounts.yaml
#+kubebuilder:scaffold:crdkustomizeresource

patchesStrategicMerge:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
#- patches/webhook_in_providers.yaml
#- patches/webhook_in_providertypes.yaml
#- patches/webhook_in_networks.yaml
#- patches/webhook_in_networkpeers.yaml
#- patches/webhook_in_imports.yaml
#- patches/webhook_in_backups.yaml
#- patches/webhook_in_restores.yaml
#- patches/webhook_in_clusters.yaml
#- patches/webhook_in_tests.yaml
#- patches/webhook_in_infraapiconfigs.yaml
#- patches/webhook_in_migrations.yaml
#- patches/webhook_in_ticdcs.yaml
#- patches/webhook_in_accounts.yaml
#+kubebuilder:scaffold:crdkustomizewebhookpatch

# [CERTMANAGER] To enable webhook, uncomment all the sections with [CERTMANAGER] prefix.
# patches here are for enabling the CA injection for each CRD
#- patches/cainjection_in_providers.yaml
#- patches/cainjection_in_providertypes.yaml
#- patches/cainjection_in_networks.yaml
#- patches/cainjection_in_networkpeers.yaml
#- patches/cainjection_in_imports.yaml
#- patches/cainjection_in_backups.yaml
#- patches/cainjection_in_restores.yaml
#- patches/cainjection_in_clusters.yaml
#- patches/cainjection_in_tests.yaml
#- patches/cainjection_in_infraapiconfigs.yaml
#- patches/cainjection_in_migrations.yaml
#- patches/cainjection_in_ticdcs.yaml
#- patches/cainjection_in_accounts.yaml
#+kubebuilder:scaffold:crdkustomizecainjectionpatch

# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
- kustomizeconfig.yaml
