Skip to content
Snippets Groups Projects
Unverified Commit 9f08a79a authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: move chartmuseum info into private packages page (#12095)

parent 15dd2fcf
No related branches found
No related tags found
No related merge requests found
...@@ -252,22 +252,3 @@ script: ...@@ -252,22 +252,3 @@ script:
- 'echo "module.exports = { hostRules: [ { matchHost: ''eu.gcr.io'', token: ''"$(gcloud auth print-access-token)"'' } ] };" > config.js' - 'echo "module.exports = { hostRules: [ { matchHost: ''eu.gcr.io'', token: ''"$(gcloud auth print-access-token)"'' } ] };" > config.js'
- renovate $RENOVATE_EXTRA_FLAGS - renovate $RENOVATE_EXTRA_FLAGS
``` ```
#### ChartMuseum
Maybe you're running your own ChartMuseum server to host your private Helm Charts.
This is how you connect to a private Helm repository:
```js
module.exports = {
hostRules: [
{
matchHost: 'your.host.io',
username: '<your-username>',
password: process.env.SELF_HOSTED_HELM_CHARTS_PASSWORD,
},
],
};
```
If you need to configure per-repository credentials then you can also configure the above within a repository's Renovate config (e.g. `renovate.json`).
...@@ -126,6 +126,26 @@ Any `hostRules` with `hostType=packagist` are also included. ...@@ -126,6 +126,26 @@ Any `hostRules` with `hostType=packagist` are also included.
If a `github.com` token is found in `hostRules`, then it is written out to local [GIT*CONFIG*](https://git-scm.com/docs/git-config#Documentation/git-config.txt-GITCONFIGCOUNT) variables prior to running `go` commands. If a `github.com` token is found in `hostRules`, then it is written out to local [GIT*CONFIG*](https://git-scm.com/docs/git-config#Documentation/git-config.txt-GITCONFIGCOUNT) variables prior to running `go` commands.
The environment variables used are: `GIT_CONFIG_KEY_0=url.https://${token}@github.com/.insteadOf GIT_CONFIG_VALUE_0=https://github.com/ GIT_CONFIG_COUNT=1`. The environment variables used are: `GIT_CONFIG_KEY_0=url.https://${token}@github.com/.insteadOf GIT_CONFIG_VALUE_0=https://github.com/ GIT_CONFIG_COUNT=1`.
### helm
Maybe you're running your own ChartMuseum server to host your private Helm Charts.
This is how you connect to a private Helm repository:
```js
module.exports = {
hostRules: [
{
matchHost: 'your.host.io',
hostType: 'helm'
username: '<your-username>',
password: process.env.SELF_HOSTED_HELM_CHARTS_PASSWORD,
},
],
};
```
If you need to configure per-repository credentials then you can also configure the above within a repository's Renovate config (e.g. `renovate.json`).
### npm ### npm
The recommended approaches in order of preference are: The recommended approaches in order of preference are:
......
...@@ -3,3 +3,5 @@ Renovate supports updating Helm Chart references within `requirements.yaml` file ...@@ -3,3 +3,5 @@ Renovate supports updating Helm Chart references within `requirements.yaml` file
If your Helm charts make use of repository Aliases then you will need to configure an `aliases` object in your config to tell Renovate where to look for them. If your Helm charts make use of repository Aliases then you will need to configure an `aliases` object in your config to tell Renovate where to look for them.
If you need to change the versioning format, read the [versioning](https://docs.renovatebot.com/modules/versioning/) documentation to learn more. If you need to change the versioning format, read the [versioning](https://docs.renovatebot.com/modules/versioning/) documentation to learn more.
To learn how to use Helm with private packages, read [private package support, Package Manager Credentials for Artifact Updating, helm](https://docs.renovatebot.com/getting-started/private-packages/#helm).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment