From ff5c850cefc0d46a18a6ede34ea8319c680508e6 Mon Sep 17 00:00:00 2001
From: Robert Cerven
Date: Tue, 1 Apr 2025 20:40:35 +0200
Subject: [PATCH] Document that component name has to be unique in a namespace
STONEBLD-3083
Signed-off-by: Robert Cerven
---
modules/ROOT/pages/getting-started.adoc | 1 +
modules/building/pages/creating.adoc | 2 ++
2 files changed, 3 insertions(+)
diff --git a/modules/ROOT/pages/getting-started.adoc b/modules/ROOT/pages/getting-started.adoc
index 401b2ee0..2aae332f 100644
--- a/modules/ROOT/pages/getting-started.adoc
+++ b/modules/ROOT/pages/getting-started.adoc
@@ -35,6 +35,7 @@ Snapshot which will trigger a specific pipeline in the managed namespace.
A Component CR describes the properties for an OCI artifact including the git repository where the artifact is from,
its latest built commit, initial build configuration parameters (i.e. Containerfile path), and any relationships to
other Components. The CR also contains a reference to its single owning Application.
+Component names must be unique in a namespace, even when components are used in different application.
=== Pipelines as Code (PAC)
https://pipelinesascode.com/[Pipelines as Code] is a project that provides opinionated tooling to define a
diff --git a/modules/building/pages/creating.adoc b/modules/building/pages/creating.adoc
index 5eda45e1..c4581f89 100644
--- a/modules/building/pages/creating.adoc
+++ b/modules/building/pages/creating.adoc
@@ -6,6 +6,8 @@
Before being able to onboard a component to {ProductName}, you will need to ensure that the instance has appropriate access to the git repository. This means either installing your organization’s {ProductName} GitHub App on the source code repository or xref:building:creating-secrets.adoc#creating-source-control-secrets[create a secret] to enable access to a GitLab repository.
+NOTE: Component names must be unique in a namespace, even when components are used in different application.
+
=== With the UI
.Prerequisites: