Give the macro access to the context
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
915db29767
commit
fca7a63c6f
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
# Manual command
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
### Crawler cron jobs
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
{% for cronjob in mirrormanager_cron_crawler %}
|
||||
---
|
||||
# Category: {{ cronjob.category }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import security_context %}
|
||||
{% from "_macros.yml" import security_context with context %}
|
||||
---
|
||||
# Download GeoIP database
|
||||
apiVersion: batch/v1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
### Primary mirror scanning cron jobs
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
{% for cronjob in mirrormanager_cron_primary_mirror %}
|
||||
---
|
||||
# Category: {{ cronjob.category }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
# Propagation checks
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context %}
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
---
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue