summaryrefslogtreecommitdiff
path: root/doc/user/clusters/management_project_template.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/clusters/management_project_template.md')
-rw-r--r--doc/user/clusters/management_project_template.md13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/user/clusters/management_project_template.md b/doc/user/clusters/management_project_template.md
index 7ab77c67bcc..4b00784a7ae 100644
--- a/doc/user/clusters/management_project_template.md
+++ b/doc/user/clusters/management_project_template.md
@@ -15,6 +15,9 @@ to create a project. The project includes cluster applications that integrate wi
and extend GitLab functionality. You can use the pattern shown in the project to extend
your custom cluster applications.
+NOTE:
+The project template works on GitLab.com without modifications. If you're on a self-managed instance, you must modify the `.gitlab-ci.yml` file.
+
## Use one project for the agent and your manifests
If you **have not yet** used the agent to connect your cluster with GitLab:
@@ -47,10 +50,7 @@ To create a project from the cluster management project template:
1. From the list of templates, next to **GitLab Cluster Management**, select **Use template**.
1. Enter the project details.
1. Select **Create project**.
-
-If you use self-managed GitLab, your instance might not include the latest version of the template.
-In that case, select **Import project**, **Repository by URL** and for the **Git repository URL**, enter
-`https://gitlab.com/gitlab-org/project-templates/cluster-management.git`.
+1. In the new project, [configure the files](#configure-the-project) as needed.
## Configure the project
@@ -73,6 +73,11 @@ The base image used in the pipeline is built by the
[cluster-applications](https://gitlab.com/gitlab-org/cluster-integration/cluster-applications) project.
This image contains a set of Bash utility scripts to support [Helm v3 releases](https://helm.sh/docs/intro/using_helm/#three-big-concepts).
+If you are on a self-managed instance of GitLab, you must modify the `.gitlab-ci.yml` file.
+Specifically, the section that starts with the comment `Automatic package upgrades` will not
+work on a self-managed instance, because the `include` refers to a GitLab.com project.
+If you remove everything below this comment, the pipeline will succeed.
+
### The main `helmfile.yml` file
The template contains a [Helmfile](https://github.com/roboll/helmfile) you can use to manage