Skip to content

Commit

Permalink
Merge pull request #6097 from werf/doc-v2-fix-migration-to-v2-guide
Browse files Browse the repository at this point in the history
doc(v2): fix migration to v2 guide
  • Loading branch information
ilya-lesikov committed Apr 26, 2024
2 parents 0d7b35b + 7007279 commit a02afd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/pages_en/resources/migration_from_v1_2_to_v2_0.md
@@ -1,6 +1,7 @@
---
title: Migration from v1.2 to v2.0
permalink: resources/migration_from_v1_2_to_v2_0.html
toc: false
---

## Breaking changes in v2.0
Expand All @@ -12,7 +13,7 @@ Key changes:
1. Commands `werf render` and `werf bundle render` sort manifests in the resulting YAML differently.
1. Removed commands `werf bundle download` and `werf bundle export`. Use `werf bundle copy --from REPO:TAG --to archive:mybundle.tar.gz`.
1. Renamed flag `--skip-build` to `--require-built-images`.
1. Replaced Helm templating function `werf_image` with `{{ $.Values.werf.image.<MY_IMAGE_NAME> }}`.
1. Replaced Helm templating function `werf_image` with {% raw %}`{{ $.Values.werf.image.<MY_IMAGE_NAME> }}`{% endraw %}.
1. Replaced flags `--report-path`, `--report-format` with `--save-build-report`, `--build-report-path`.
1. In command `werf bundle copy` replaced flags `--repo`, `--tag`, `--to-tag` with `--from=REPO`, `--from=REPO:TAG`, `--to=REPO:TAG`.
1. Removed automatic migrations from Helm 2 releases to Helm 3 releases.
Expand Down
3 changes: 2 additions & 1 deletion docs/pages_ru/resources/migration_from_v1_2_to_v2_0.md
@@ -1,6 +1,7 @@
---
title: Миграция с v1.2 на v2.0
permalink: resources/migration_from_v1_2_to_v2_0.html
toc: false
---

## Обратно несовместимые изменения в v2.0
Expand All @@ -12,7 +13,7 @@ permalink: resources/migration_from_v1_2_to_v2_0.html
1. Команды `werf render` и `werf bundle render` сортируют манифесты в результате в другом порядке.
1. Удалены команды `werf bundle download` и `werf bundle export`. Используйте `werf bundle copy --from REPO:TAG --to archive:mybundle.tar.gz`.
1. Переименована опция `--skip-build` в `--require-built-images`.
1. Заменена функция Helm-шаблонизатора `werf_image` на `{{ $.Values.werf.image.<MY_IMAGE_NAME> }}`.
1. Заменена функция Helm-шаблонизатора `werf_image` на {% raw %}`{{ $.Values.werf.image.<MY_IMAGE_NAME> }}`{% endraw %}.
1. Заменены опции `--report-path`, `--report-format` на `--save-build-report`, `--build-report-path`.
1. В команде `werf bundle copy` заменены опции `--repo`, `--tag`, `--to-tag` на `--from=REPO`, `--from=REPO:TAG`, `--to=REPO:TAG`.
1. Удалена автоматическая миграция Helm 2 релизов на Helm 3 релизы.
Expand Down

0 comments on commit a02afd7

Please sign in to comment.