Skip to content

Sidecar terminator ignore the exit code of the sidecar container

Codecov / codecov/patch succeeded Mar 9, 2024 in 0s

56.25% of diff hit (target 47.82%)

View this Pull Request on Codecov

56.25% of diff hit (target 47.82%)

Annotations

Check warning on line 79 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L79

Added line #L79 was not covered by tests

Check warning on line 142 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L142

Added line #L142 was not covered by tests

Check warning on line 163 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L162-L163

Added lines #L162 - L163 were not covered by tests

Check warning on line 181 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L179-L181

Added lines #L179 - L181 were not covered by tests

Check warning on line 196 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L193-L196

Added lines #L193 - L196 were not covered by tests

Check warning on line 204 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L201-L204

Added lines #L201 - L204 were not covered by tests

Check warning on line 219 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L218-L219

Added lines #L218 - L219 were not covered by tests

Check warning on line 224 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L224

Added line #L224 was not covered by tests

Check warning on line 230 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L230

Added line #L230 was not covered by tests

Check warning on line 287 in pkg/controller/sidecarterminator/sidecar_terminator_controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controller/sidecarterminator/sidecar_terminator_controller.go#L286-L287

Added lines #L286 - L287 were not covered by tests