forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme info about using secret for registry passwords
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,32 @@ for Spinnaker. If you want to add arbitrary clusters need to do the following: | |
deploymentContext: my-context | ||
``` | ||
|
||
## Specifying Docker Registries and Valid Images (Repositories) | ||
|
||
Spinnaker will only give you access to Docker images that have been whitelisted, if you're using a private registry or a private repository you also need to provide credentials. Update the following values of the chart to do so: | ||
```yaml | ||
dockerRegistries: | ||
- name: dockerhub | ||
address: index.docker.io | ||
repositories: | ||
- library/alpine | ||
- library/ubuntu | ||
- library/centos | ||
- library/nginx | ||
# - name: gcr | ||
# address: https://gcr.io | ||
# username: _json_key | ||
# password: '<INSERT YOUR SERVICE ACCOUNT JSON HERE>' | ||
# email: [email protected] | ||
``` | ||
You can provide passwords as a Helm value, or you can use a pre-created secret containing your registry passwords. The secret should have an item per Registry in the format: `<registry name>: <password>`. In which case you'll specify the secret to use in `dockerRegistryAccountSecret` like so: | ||
|
||
```yaml | ||
dockerRegistryAccountSecret: myregistry-secrets | ||
``` | ||
|
||
## Customizing your installation | ||
|
||
### Manual | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters