Skip to content

Commit e756d41

Browse files
committed
update readme
1 parent 5e7aef8 commit e756d41

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,15 @@ This tool can also be useful when you are developing a new chart or updating an
3838

3939
## Configuration
4040

41-
By default, helmsnap will render your helmfile using `default` environment and will place snapshots in `helm/snapshots` directory. If you want to configure that, create a `.helmsnap.yaml` file and put there configuration that looks like this:
41+
By default, helmsnap will render your helmfile using `default` environment and will place snapshots in `helm/snapshots` directory. If you want to configure that, or you need to provide credentials for access to private helm repos, you can create a `.helmsnap.yaml` file and put there configuration that looks like this:
4242

4343
```yaml
4444
envs: [staging, production] # `[default]` by default
4545
snapshotsPath: somedir/snapshots # `helm/snapshots` by default
46+
credentials: # [] by default
47+
- repo: https://example.com/some/path/to/repo
48+
username: someuser
49+
password: somepassword
4650
```
4751
4852
You can also override configuration file location using `--config` option.

0 commit comments

Comments
 (0)