Skip to content

chore(werf): миграция на container-base v1.0.51#87

Open
duckhawk wants to merge 3 commits into
mainfrom
chore/container-base-distroless-unify
Open

chore(werf): миграция на container-base v1.0.51#87
duckhawk wants to merge 3 commits into
mainfrom
chore/container-base-distroless-unify

Conversation

@duckhawk

Copy link
Copy Markdown
Member

Description

Миграция модуля snapshot-controller на каталог container-base v1.0.51:

  • BASE_IMAGES_VERSION в GitHub workflows: v0.5.79v1.0.51
  • URL загрузки base_images.yml: deckhouse/base-imagesdeckhouse/container-base/base-images
  • .werf/base-images.yaml — упрощён до $.Images без промежуточных стадий
  • .werf/bundle.yaml, release.yaml, images-digests.yaml, choose-edition.yamlfrom: {{ index $.Images "..." }}
  • Все образы: builder/golang / builder/alpine-svace, builder/distroless
  • images/snapshot-controller: pm install git make bash вместо apk add на alpine builder
  • .werf/images.yaml: проброс Images в $ctx (fix для index $.Images)
  • .dmtlint.yaml: исключение no-cyrillic для hack/
  • base_images.yml в .gitignore

Why do we need it, and what problem does it solve?

Модуль оставался на старом каталоге base-images (v0.5.79) с fromImage и промежуточными стадиями. Это расходится с csi-nfs, csi-hpe, csi-huawei и усложняет поддержку.

What is the expected result?

  • GitHub Actions build проходит на container-base v1.0.51
  • Образы snapshot-controller, webhooks, go-hooks собираются без изменения runtime-поведения
  • dmtlint не ругается на кириллицу в hack/generate_release_notes.go

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

duckhawk added 3 commits June 20, 2026 06:39
Перевод сборки на каталог container-base: builder/golang и
builder/distroless, упрощение base-images.yaml, проброс Images в
images.yaml. Исключение hack/ для dmtlint no-cyrillic.

Agents: Composer 2.5 (ведущий, авто-режим)
dmtlint no-cyrillic падал на кириллице в workflow.

Agents: Composer 2.5 (ведущий, авто-режим)
По аналогии с csi-nfs: pss_restricted_flexible с seccompProfile
вместо read_only_root_filesystem_capabilities_drop_all.

Agents: Composer 2.5 (ведущий, авто-режим)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant