Skip to content

Commit

Permalink
docs(applicationset): add section explaining how to set up repo crede…
Browse files Browse the repository at this point in the history
…ntials for git generator

Signed-off-by: Rune Antonsen <[email protected]>
  • Loading branch information
ruant authored Oct 18, 2024
1 parent ec499bb commit c2b4989
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 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))

0 comments on commit c2b4989

Please sign in to comment.