Skip to content

Commit

Permalink
docs(applicationset): explain how to add repo credentials (argoproj#2…
Browse files Browse the repository at this point in the history
…0453)

* docs(applicationset): add section explaining how to set up repo credentials for git generator

Signed-off-by: Rune Antonsen <[email protected]>

* Update docs/operator-manual/applicationset/Generators-Git.md

Co-authored-by: Blake Pettersson <[email protected]>
Signed-off-by: Rune Antonsen <[email protected]>

* Update docs/operator-manual/applicationset/Generators-Git.md

Co-authored-by: Blake Pettersson <[email protected]>
Signed-off-by: Rune Antonsen <[email protected]>

* Update docs/operator-manual/applicationset/Generators-Git.md

Co-authored-by: Blake Pettersson <[email protected]>
Signed-off-by: Rune Antonsen <[email protected]>

* Update docs/operator-manual/applicationset/Generators-Git.md

Co-authored-by: Blake Pettersson <[email protected]>
Signed-off-by: Rune Antonsen <[email protected]>

---------

Signed-off-by: Rune Antonsen <[email protected]>
Co-authored-by: Blake Pettersson <[email protected]>
  • Loading branch information
ruant and blakepettersson authored Oct 21, 2024
1 parent aff5e61 commit ac69f52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/operator-manual/applicationset/Generators-Git.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit ac69f52

Please sign in to comment.