1 # Adds namespace to all resources.
2 namespace: baremetal-operator-system
4 # Value of this field is prepended to the
5 # names of all resources, e.g. a deployment named
6 # "wordpress" becomes "alices-wordpress".
7 # Note that it should also match with the prefix (text before '-') of the namespace
9 namePrefix: baremetal-operator-
11 # Labels to add to all resources and selectors.
19 # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
20 # crd/kustomization.yaml
22 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
24 # [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
27 patchesStrategicMerge:
28 # Protect the /metrics endpoint by putting it behind auth.
29 # If you want your controller-manager to expose the /metrics
30 # endpoint w/o any authn/z, please comment the following line.
31 - manager_auth_proxy_patch.yaml
33 # Mount the controller config file for loading manager configurations
34 # through a ComponentConfig type
35 #- manager_config_patch.yaml
37 # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
38 # crd/kustomization.yaml
39 - manager_webhook_patch.yaml
41 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
42 # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
43 # 'CERTMANAGER' needs to be enabled to use ca injection
44 - webhookcainjection_patch.yaml
46 # the following config is for teaching kustomize how to do var substitution
48 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
49 - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
52 group: cert-manager.io
54 name: serving-cert # this name should match the one in certificate.yaml
56 fieldpath: metadata.namespace
57 - name: CERTIFICATE_NAME
60 group: cert-manager.io
62 name: serving-cert # this name should match the one in certificate.yaml
63 - name: SERVICE_NAMESPACE # namespace of the service
69 fieldpath: metadata.namespace
76 # Add ironic configmap-generator
78 disableNameSuffixHash: true