Commit 1d9177e0 authored by Nick Gaskill's avatar Nick Gaskill Committed by Shinya Maeda

Apply 4 suggestion(s) to 1 file(s)

parent 03610a86
--- ---
title: Fix auto-deploy-image fetches deprecated stable repository and causes an error title: Fix auto-deploy-image fetches deprecated stable repository and causes an error
merge_request: 263778 merge_request: 45984
author: author:
type: fixed type: fixed
...@@ -471,16 +471,15 @@ that works for this problem. Follow these steps to use the tool in Auto DevOps: ...@@ -471,16 +471,15 @@ that works for this problem. Follow these steps to use the tool in Auto DevOps:
As [announced in the official CNCF blogpost](https://www.cncf.io/blog/2020/10/07/important-reminder-for-all-helm-users-stable-incubator-repos-are-deprecated-and-all-images-are-changing-location/), As [announced in the official CNCF blogpost](https://www.cncf.io/blog/2020/10/07/important-reminder-for-all-helm-users-stable-incubator-repos-are-deprecated-and-all-images-are-changing-location/),
the stable Helm chart repository will be deprecated and removed on November 13th, 2020. the stable Helm chart repository will be deprecated and removed on November 13th, 2020.
By this reason, you may encounter this problem after the period. You may encounter this error after that date.
Some GitLab features had had a couple of dependencies on the stable chart as well, but Some GitLab features had dependencies on the stable chart. To mitigate the impact, we changed them
we've already changed them to use new official repositories (or [stable-archive repository maintained by GitLab]( https://gitlab.com/gitlab-org/cluster-integration/helm-stable-archive)) to use new official repositories or the [Helm Stable Archive repository maintained by GitLab](https://gitlab.com/gitlab-org/cluster-integration/helm-stable-archive).
to mitigate the impact. Auto Deploy contains [an example fix](https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/merge_requests/127).
Here is [an example fix](https://gitlab.com/gitlab-org/cluster-integration/auto-deploy-image/-/merge_requests/127) in Auto Deploy.
In Auto Deploy, `v1.0.6+` of `auto-deploy-image` no longer adds the deprecated stable repository to `helm` command. In Auto Deploy, `v1.0.6+` of `auto-deploy-image` no longer adds the deprecated stable repository to
If you use a custom chart and it relies on the deprecated stable repository, the `helm` command. If you use a custom chart and it relies on the deprecated stable repository,
please specify an older `auto-deploy-image` like the following example. specify an older `auto-deploy-image` like this example:
```yaml ```yaml
include: include:
...@@ -490,9 +489,8 @@ include: ...@@ -490,9 +489,8 @@ include:
image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.5" image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v1.0.5"
``` ```
Please keep in mind that this approach will also eventually stop working Keep in mind that this approach will eventually stop working when the stable repository is removed,
when the stable repository has been removed, so that you would want to fix your custom chart so you must eventually fix your custom chart.
sooner or later.
You can find more information in [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/263778). You can find more information in [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/263778).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment