Skip to content

Automatically migrate container name 23.1 -> 23.4 #444

@sbernauer

Description

@sbernauer

Affected version

23.4.0

Current and expected behavior

In 23.1 the bundle-builder container within the OPA DaemonSet was called opa-bundle-builder.
In #420 it was renamed to bundle-builder.
When upgrading a OPA cluster 23.1 -> 23.4 the opa-operator patches the DaemonSet, so we end up with both containers.
The bundle-builder containers fails with
thread 'main' panicked at 'error binding to 0.0.0.0:3030: error creating server listener: Address already in use (os error 98)', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/warp-0 .3.3/src/server.rs:213:27

Possible solution

No response

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

yes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions