angelnu/pod-gateway

Prevent pod-gateway from being added to Jobs

Closed this issue · 1 comments

Details

I have a volsync job that fires to create a PVC and synchronize it. This gets added to a helm deployment (i.e. for sabnzbd). The Volsync job never finishes because the gateway container is running.

Jobs should be able to fire and end, but the pod that kicks off is getting the gateway container added to it if it's in a namespace monitored by the pod-gateway.

I found that I could use the restic.moverLabels in volsync CRDs to add the label to the job pods to prevent pod-gateway from applying the containers.