From eeda4ff37ccd5360e9bb34b2e1346022535898dd Mon Sep 17 00:00:00 2001 From: pkomarov Date: Fri, 24 Apr 2026 00:49:24 +0300 Subject: [PATCH] feat(component): add provisioning-config component with watchAllNamespaces Jira: https://redhat.atlassian.net/browse/OSPRH-29199 Add a reusable kustomize component for BMO (Baremetal Metal Operator) Provisioning configuration. The component sets watchAllNamespaces to true, allowing BMO to watch all namespaces instead of just the default. This can be referenced from other repos via: https://github.com/openstack-k8s-operators/gitops/components/dependencies/provisioning-config?ref= --- .../provisioning-config/kustomization.yaml | 5 +++++ .../provisioning-config/provisioning-config.yaml | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 components/dependencies/provisioning-config/kustomization.yaml create mode 100644 components/dependencies/provisioning-config/provisioning-config.yaml diff --git a/components/dependencies/provisioning-config/kustomization.yaml b/components/dependencies/provisioning-config/kustomization.yaml new file mode 100644 index 0000000..f34bd00 --- /dev/null +++ b/components/dependencies/provisioning-config/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component +resources: + - provisioning-config.yaml diff --git a/components/dependencies/provisioning-config/provisioning-config.yaml b/components/dependencies/provisioning-config/provisioning-config.yaml new file mode 100644 index 0000000..ff80f93 --- /dev/null +++ b/components/dependencies/provisioning-config/provisioning-config.yaml @@ -0,0 +1,10 @@ +--- +# Baremetal Metal Operator (BMO) configuration + +apiVersion: metal3.io/v1alpha1 +kind: Provisioning +metadata: + name: provisioning-configuration +spec: + # Configure BMO to watch all namespaces + watchAllNamespaces: true