Skip to content

Commit 1e730f1

Browse files
committed
chore(components/egress): remove workflow
1 parent cd9c352 commit 1e730f1

File tree

3 files changed

+3
-75
lines changed

3 files changed

+3
-75
lines changed

.github/workflows/egress-test.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

components/egress/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ func main() {
3636
}
3737
if policy == nil {
3838
log.Println("OPENSANDBOX_NETWORK_POLICY empty; skip egress control")
39+
// Block here to avoid infinite container restart loop in Kubernetes
40+
// when restartPolicy is Always. As a sidecar, we should keep running.
41+
<-ctx.Done()
3942
return
4043
}
4144

components/egress/tests/docker-compose.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)