Breaking changes in v2.0
Key changes:
- The new deployment engine Nelm is enabled by default. The old deployment engine cannot be used anymore.
- Commands
werf converge
,werf plan
andwerf bundle apply
have better resource validation, which may require fixing your charts. - Commands
werf render
andwerf bundle render
now format the resulting YAML, stripping comments, sorting fields and formatting values. - Commands
werf render
andwerf bundle render
sort manifests in the resulting YAML differently. - Removed commands
werf bundle download
andwerf bundle export
. Usewerf bundle copy --from REPO:TAG --to archive:mybundle.tar.gz
. - Renamed flag
--skip-build
to--require-built-images
. - Replaced Helm templating function
werf_image
with{{ $.Values.werf.image.<MY_IMAGE_NAME> }}
. - Replaced flags
--report-path
,--report-format
with--save-build-report
,--build-report-path
. - In command
werf bundle copy
replaced flags--repo
,--tag
,--to-tag
with--from=REPO
,--from=REPO:TAG
,--to=REPO:TAG
. - Removed automatic migrations from Helm 2 releases to Helm 3 releases.
Other changes:
- Renamed flags
--repo-implementation
,--final-repo-implementation
to--repo-container-registry
,--final-repo-container-registry
. - Removed Selectel Container Registry flags
--repo-selectel-account
,--repo-selectel-password
,--repo-selectel-username
,--repo-selectel-vpc
,--repo-selectel-vpc-id
,--final-repo-selectel-account
,--final-repo-selectel-password
,--final-repo-selectel-username
,--final-repo-selectel-vpc
,--final-repo-selectel-vpc-id
. Use the regular container registry authentication. - Special werf annotations such as
werf.io/version
orproject.werf.io/name
are no longer saved in the Helm release (i.e. Secret resource by default), but still applied to the cluster.