You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot.md
+25
Original file line number
Diff line number
Diff line change
@@ -256,6 +256,31 @@ registries:
256
256
257
257
{% endraw %}
258
258
259
+
{% ifversion dependabot-helm-support %}
260
+
261
+
### `helm-registry`
262
+
263
+
{% data variables.product.prodname_dependabot %} works with any OCI-compliant registries that implement the Open Container Initiative (OCI) Distribution Specification. For more information, see [Open Container Initiative Distribution Specification](https://github.com/opencontainers/distribution-spec/blob/main/spec.md) in the `opencontainers/distribution-spec` repository. {% data variables.product.prodname_dependabot %} supports authentication to private registries via a central token service or HTTP Basic Auth. For further details, see [Token Authentication Specification](https://helm.sh/docs/helm/helm_registry_login/) in the Docker documentation and [Basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) on Wikipedia.
264
+
265
+
The `helm-registry` type supports username and password. {% data reusables.dependabot.password-definition %}
266
+
267
+
{% data reusables.dependabot.dependabot-updates-path-match %}
268
+
269
+
{% raw %}
270
+
271
+
```yaml copy
272
+
registries:
273
+
helm_registry:
274
+
type: helm-registry
275
+
url: https://registry.example.com
276
+
username: octocat
277
+
password: ${{secrets.MY_REGISTRY_PASSWORD}}
278
+
```
279
+
280
+
{% endraw %}
281
+
282
+
{% endif %}
283
+
259
284
### `hex-organization`
260
285
261
286
The `hex-organization` type supports organization and key.
Copy file name to clipboardExpand all lines: content/code-security/dependabot/working-with-dependabot/guidance-for-the-configuration-of-private-registries-for-dependabot.md
+42-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,8 @@ You'll find detailed guidance for the setup of the following package managers:
@@ -169,6 +170,46 @@ Docker Compose adheres to the same configuration guidelines as Docker. For more
169
170
170
171
{% endif %}
171
172
173
+
{% ifversion dependabot-helm-support %}
174
+
175
+
### Helm Charts
176
+
177
+
Helm supports using a username and password for registries. For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#helm-registry).
178
+
179
+
Snippet of `dependabot.yml` file using a username and password.
180
+
181
+
{% raw %}
182
+
183
+
```yaml copy
184
+
registries:
185
+
helm_registry:
186
+
type: helm-registry
187
+
url: https://registry.example.com
188
+
username: octocat
189
+
password: ${{secrets.MY_REGISTRY_PASSWORD}}
190
+
```
191
+
192
+
{% endraw %}
193
+
194
+
#### Notes
195
+
196
+
{% data variables.product.prodname_dependabot %} works with any OCI-compliant registries that implement the Open Container Initiative (OCI) Distribution Specification. For more information, see [Helm Registry Login](https://helm.sh/docs/helm/helm_registry_login/) in the Helm docs.
197
+
198
+
{% data variables.product.prodname_dependabot %} supports authentication to private registries via a central token service or HTTP Basic Auth. For more information, see [Token Authentication Specification](https://docs.docker.com/registry/spec/auth/token/) in the Docker documentation and [Basic access authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) on Wikipedia.
199
+
200
+
When configuring Dependabot for Helm charts, it will also automatically update the Docker images referenced within those charts, ensuring that both the chart versions and their contained images stay up to date.
201
+
202
+
#### Limitations and workarounds
203
+
204
+
* {% data variables.product.prodname_dependabot %} only updates dependencies in `Chart.yaml` files.
205
+
* Images in `values.yaml` files and `Chart.yaml` files are updated.
206
+
* Helm dependency updates are first attempted via the Helm CLI, with fallback to searching `index.yaml`.
207
+
* Images that have an array of versions in the YAML cannot be updated.
208
+
* Image names may not always be detected in Helm files or YAML files.
209
+
* For Helm v2 updates, use the [Docker ecosystem](#docker).
210
+
211
+
{% endif %}
212
+
172
213
### Gradle
173
214
174
215
{% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to certain Gradle files. For more information, see "Gradle" in [AUTOTITLE](/code-security/dependabot/ecosystems-supported-by-dependabot/supported-ecosystems-and-repositories#gradle).
@@ -112,6 +113,14 @@ For {% data variables.product.prodname_dependabot_security_updates %}, Gradle su
112
113
> * When you upload Gradle dependencies to the dependency graph using the {% data variables.dependency-submission-api.name %}, all project dependencies are uploaded, even transitive dependencies that aren't explicitly mentioned in any dependency file. When an alert is detected in a transitive dependency, {% data variables.product.prodname_dependabot %} isn't able to find the vulnerable dependency in the repository, and therefore won't create a security update for that alert.
113
114
> * {% data variables.product.prodname_dependabot_version_updates %} will, however, create pull requests when the parent dependency is explicitly declared as a direct dependency in the project's manifest file.
114
115
116
+
#### Helm Charts
117
+
118
+
{% data variables.product.prodname_dependabot %} supports using a username and password for registries. For more information, see [AUTOTITLE](/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#helm-registry).
119
+
120
+
{% data variables.product.prodname_dependabot %} works with any OCI-compliant registries that implement the Open Container Initiative (OCI) Distribution Specification.
121
+
122
+
When configuring Dependabot for Helm charts, it will also automatically update the Docker images referenced within those charts, ensuring that both the chart versions and their contained images stay up to date.
123
+
115
124
#### Maven
116
125
117
126
{% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to `pom.xml` files.
0 commit comments