Fix conditional

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard
2025-07-02 09:05:19 +02:00
parent 081a6d30d4
commit 6c44a3d62e
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env %}
# Can't talk to the prod proxies in the mirrorlist_proxies group
{% if env == "staging" %}
# Staging can't talk to the prod proxies in the mirrorlist_proxies group
{% if env == "production" %}
---
apiVersion: batch/v1
kind: CronJob

View File

@@ -1,7 +1,7 @@
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env, security_context with context %}
# Can't talk to the prod proxies in the mirrorlist_proxies group
{% if env == "staging" %}
# Staging can't talk to the prod proxies in the mirrorlist_proxies group
{% if env == "production" %}
---
apiVersion: batch/v1
kind: CronJob