Skip to content

Commit

Permalink
Make sidecar injection check required
Browse files Browse the repository at this point in the history
prevents edge case where tuning pod is created without envoy sidecar
  • Loading branch information
linkous8 committed Oct 31, 2022
1 parent c776225 commit d421f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servo/connectors/opsani_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ async def check_controller_labels(self) -> None:
remedy=lambda: _stream_remedy_command(command),
)

@servo.checks.check("{self.config.workload_kind} has Envoy sidecar container")
@servo.checks.require("{self.config.workload_kind} has Envoy sidecar container")
async def check_controller_envoy_sidecars(self) -> None:
controller = await self.workload_helper.read(
self.config.workload_name, self.config.namespace
Expand Down

0 comments on commit d421f31

Please sign in to comment.