From 5d8a3f76f72b611764a86286bf468733b2223f6e Mon Sep 17 00:00:00 2001 From: Alka Kumari Date: Thu, 2 Apr 2026 10:09:38 +0530 Subject: [PATCH] Added smissing spec while creating NamespaceManagement CR from UI Signed-off-by: Alka Kumari --- .../gitops-operator.clusterserviceversion.yaml | 12 +++++++++++- .../argoproj.io_v1beta1_namespacemanagement.yaml | 6 ++++++ config/samples/kustomization.yaml | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 config/samples/argoproj.io_v1beta1_namespacemanagement.yaml diff --git a/bundle/manifests/gitops-operator.clusterserviceversion.yaml b/bundle/manifests/gitops-operator.clusterserviceversion.yaml index 982fe97cca3..1ba87788aaa 100644 --- a/bundle/manifests/gitops-operator.clusterserviceversion.yaml +++ b/bundle/manifests/gitops-operator.clusterserviceversion.yaml @@ -168,6 +168,16 @@ metadata: } } }, + { + "apiVersion": "argoproj.io/v1beta1", + "kind": "NamespaceManagement", + "metadata": { + "name": "namespacemanagement-sample" + }, + "spec": { + "managedBy": "argocd-ns" + } + }, { "apiVersion": "pipelines.openshift.io/v1alpha1", "kind": "GitopsService", @@ -180,7 +190,7 @@ metadata: capabilities: Deep Insights console.openshift.io/plugins: '["gitops-plugin"]' containerImage: quay.io/redhat-developer/gitops-operator - createdAt: "2026-03-04T06:59:29Z" + createdAt: "2026-04-01T16:54:16Z" description: Enables teams to adopt GitOps principles for managing cluster configurations and application delivery across hybrid multi-cluster Kubernetes environments. features.operators.openshift.io/disconnected: "true" diff --git a/config/samples/argoproj.io_v1beta1_namespacemanagement.yaml b/config/samples/argoproj.io_v1beta1_namespacemanagement.yaml new file mode 100644 index 00000000000..fb965c85667 --- /dev/null +++ b/config/samples/argoproj.io_v1beta1_namespacemanagement.yaml @@ -0,0 +1,6 @@ +apiVersion: argoproj.io/v1beta1 +kind: NamespaceManagement +metadata: + name: namespacemanagement-sample +spec: + managedBy: argocd-ns \ No newline at end of file diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index 0c7cc785811..988b921e3ad 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -8,4 +8,5 @@ resources: - argoproj.io_v1alpha1_notificationsconfiguration.yaml - argoproj.io_v1alpha1_rollout.yaml - argoproj.io_v1alpha1_rolloutmanager.yaml +- argoproj.io_v1beta1_namespacemanagement.yaml #+kubebuilder:scaffold:manifestskustomizesamples