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 # [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
34 # crd/kustomization.yaml
35 - manager_webhook_patch.yaml
37 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
38 # Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
39 # 'CERTMANAGER' needs to be enabled to use ca injection
40 - webhookcainjection_patch.yaml
42 # the following config is for teaching kustomize how to do var substitution
44 # [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER' prefix.
45 - name: CERTIFICATE_NAMESPACE # namespace of the certificate CR
48 group: cert-manager.io
50 name: serving-cert # this name should match the one in certificate.yaml
52 fieldpath: metadata.namespace
53 - name: CERTIFICATE_NAME
56 group: cert-manager.io
58 name: serving-cert # this name should match the one in certificate.yaml
59 - name: SERVICE_NAMESPACE # namespace of the service
65 fieldpath: metadata.namespace
72 # Add ironic configmap-generator
74 disableNameSuffixHash: true