Update docs/gitrepo-add.md

Co-authored-by: Corentin Néau <tan.neau@suse.com>
This commit is contained in:
hridyesh bisht 2025-07-01 16:18:25 +05:30 committed by GitHub
parent 056145da26
commit f7dc6805a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ If `gitRepo.spec.helmSecretNameForPaths` is defined, `gitRepo.spec.helmSecretNam
Create a file named `secrets-path.yaml` that specifies credentials for each path in your `GitRepo`. The keys must match the full path to a bundle directory (a folder containing a `fleet.yaml file`), which may have more segments than the entry under `paths:`. If a path listed in the GitRepo is not included in this file, Fleet does not use credentials for it. Create a file named `secrets-path.yaml` that specifies credentials for each path in your `GitRepo`. The keys must match the full path to a bundle directory (a folder containing a `fleet.yaml file`), which may have more segments than the entry under `paths:`. If a path listed in the GitRepo is not included in this file, Fleet does not use credentials for it.
:::note :::note
The file should be named `secrets-path.yaml`, otherwise it won't work. The file should be named `secrets-path.yaml`, otherwise Fleet will not be able to use it.
::: :::
Example `GitRepo` resource: Example `GitRepo` resource: