Skip to content

Conversation

@diafour
Copy link
Member

@diafour diafour commented Sep 22, 2025

Backport #1343 as part of #1432

(cherry picked from commit 7344c01)

Description

Images with pre-created mount points:

  • cdi-apiserver
  • cdi-cloner
  • cdi-controller
  • cdi-importer
  • cdi-operator
  • dvcr
  • dvcr-importer
  • dvcr-uploader
  • kube-api-rewriter
  • virt-api
  • virt-controller
  • virt-handler
  • virt-launcher
  • virt-operator
  • virtualization-api
  • virtualization-audit
  • virtualization-controller
  • hp pods

Some notes:

  • Create /var/run subdirectories in /run, as /var/run is a symlink to ../run.
  • Add /var, /run and symlink /var/run -> ../run in 'distroless' base image.
  • Pre-create /var, /run and symlink /var/run -> ../run in kube-api-rewriter image.
  • Remove unused extraheaders settings in dvcr-importer and dvcr-uploader.

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

What is the expected result?

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.

Changelog entries

section: core
type: chore
summary: Pre-create mount points in all final images.

Images with pre-created mount points:

- cdi-apiserver
- cdi-cloner
- cdi-controller
- cdi-importer
- cdi-operator
- dvcr
- dvcr-importer
- dvcr-uploader
- kube-api-rewriter
- virt-api
- virt-controller
- virt-handler
- virt-launcher
- virt-operator
- virtualization-api
- virtualization-audit
- virtualization-controller
- hp pods

Some notes:

- Create /var/run subdirectories in /run, as /var/run is a symlink to ../run.
- Add /var, /run and symlink /var/run -> ../run in 'distroless' base image.
- Pre-create /var, /run and symlink /var/run -> ../run in kube-api-rewriter image.
- Remove unused extraheaders settings in dvcr-importer and dvcr-uploader.

Signed-off-by: YuryLysov <[email protected]>

Co-authored-by: Ivan Mikheykin <[email protected]>
Co-authored-by: Nikita Korolev <[email protected]>
Signed-off-by: Nikita Korolev <[email protected]>
Signed-off-by: Ivan Mikheykin <[email protected]>
(cherry picked from commit 7344c01)
@diafour diafour merged commit 05fe2f1 into release-1.0 Sep 22, 2025
19 of 22 checks passed
@diafour diafour deleted the backport/1432 branch September 22, 2025 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants