From ac69f5223cd0fc42fcc638b340a3703addda3812 Mon Sep 17 00:00:00 2001 From: Rune Antonsen Date: Mon, 21 Oct 2024 22:05:02 +0200 Subject: [PATCH] docs(applicationset): explain how to add repo credentials (#20453) * docs(applicationset): add section explaining how to set up repo credentials for git generator Signed-off-by: Rune Antonsen * Update docs/operator-manual/applicationset/Generators-Git.md Co-authored-by: Blake Pettersson Signed-off-by: Rune Antonsen * Update docs/operator-manual/applicationset/Generators-Git.md Co-authored-by: Blake Pettersson Signed-off-by: Rune Antonsen * Update docs/operator-manual/applicationset/Generators-Git.md Co-authored-by: Blake Pettersson Signed-off-by: Rune Antonsen * Update docs/operator-manual/applicationset/Generators-Git.md Co-authored-by: Blake Pettersson Signed-off-by: Rune Antonsen --------- Signed-off-by: Rune Antonsen Co-authored-by: Blake Pettersson --- 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..569eb60034389 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 repository as a "non project scoped" repository. +- When doing that through the UI, set this to a **blank** value in the dropdown menu. +- When doing that through the CLI, make sure you **DO NOT** supply the parameter `--project` ([argocd repo add docs](../../user-guide/commands/argocd_repo_add.md)) +- When doing that declaratively, make sure you **DO NOT** have `project:` defined under `stringData:` ([complete yaml example](../argocd-repositories-yaml.md))