From c2b4989c75a3fec30df79bde7f4e838e58c76ed6 Mon Sep 17 00:00:00 2001 From: Rune Antonsen Date: Fri, 18 Oct 2024 16:41:32 +0200 Subject: [PATCH] docs(applicationset): add section explaining how to set up repo credentials for git generator Signed-off-by: Rune Antonsen --- docs/operator-manual/applicationset/Generators-Git.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/operator-manual/applicationset/Generators-Git.md b/docs/operator-manual/applicationset/Generators-Git.md index 19564970749a6..3d8fd4d69bd8d 100644 --- a/docs/operator-manual/applicationset/Generators-Git.md +++ b/docs/operator-manual/applicationset/Generators-Git.md @@ -443,3 +443,9 @@ stringData: ``` After saving, please restart the ApplicationSet pod for the changes to take effect. + +## Repository credentials for ApplicationSets +If your [ApplicationSets](index.md) uses a repository where you need credentials to be able to access it, you need to add the repoistory as an "non project scoped" repository. +- In the UI, this is the "blank" value in the dropdown menu. +- For CLI, make sure you DO NOT supply the parameter `--project` ([argocd repo add docs](../../user-guide/commands/argocd_repo_add.md)) +- For YAML spec, make sure you DO NOT have `project:` defined under `stringData:` ([complete yaml example](../argocd-repositories-yaml.md))