Open stephane-julien opened 11 months ago
The pods created by the CronJob don't have any labels. In this fact, we cannot apply any NetworkPolicy to the job pod.
Including CronJonb labels in cron.yaml, path spec.jobTemplate.spec.template.metadata.labels would fix this problem.
The pods created by the CronJob don't have any labels. In this fact, we cannot apply any NetworkPolicy to the job pod.
Including CronJonb labels in cron.yaml, path spec.jobTemplate.spec.template.metadata.labels would fix this problem.