@@ -12,7 +12,7 @@ namePrefix: openstack-operator-
1212# commonLabels:
1313# someName: someValue
1414
15- bases :
15+ resources :
1616- ../crd
1717- ../rbac
1818- ../manager
@@ -24,27 +24,27 @@ bases:
2424# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
2525# - ../prometheus
2626
27- patchesStrategicMerge :
27+ patches :
2828# Protect the /metrics endpoint by putting it behind auth.
2929# If you want your controller-manager to expose the /metrics
3030# endpoint w/o any authn/z, please comment the following line.
31- - manager_auth_proxy_patch.yaml
31+ - path : manager_auth_proxy_patch.yaml
3232
3333# Mount the controller config file for loading manager configurations
3434# through a ComponentConfig type
35- # - manager_config_patch.yaml
35+ # - path: manager_config_patch.yaml
3636
3737# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
3838# crd/kustomization.yaml
39- - manager_webhook_patch.yaml
39+ - path : manager_webhook_patch.yaml
4040
4141# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
4242# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
4343# 'CERTMANAGER' needs to be enabled to use ca injection
44- - webhookcainjection_patch.yaml
44+ - path : webhookcainjection_patch.yaml
4545
4646# Injects our custom images (ENV variable settings)
47- - manager_default_images.yaml
47+ - path : manager_default_images.yaml
4848
4949# the following config is for teaching kustomize how to do var substitution
5050vars :
7575# kind: Service
7676# version: v1
7777# name: webhook-service
78+
79+ apiVersion : kustomize.config.k8s.io/v1beta1
80+ kind : Kustomization
0 commit comments