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
|
# Manual command
|
||||||
---
|
---
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
### Crawler cron jobs
|
### 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 %}
|
{% for cronjob in mirrormanager_cron_crawler %}
|
||||||
---
|
---
|
||||||
# Category: {{ cronjob.category }}
|
# Category: {{ cronjob.category }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% from "_macros.yml" import security_context %}
|
{% from "_macros.yml" import security_context with context %}
|
||||||
---
|
---
|
||||||
# Download GeoIP database
|
# Download GeoIP database
|
||||||
apiVersion: batch/v1
|
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
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
### Primary mirror scanning cron jobs
|
### 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 %}
|
{% for cronjob in mirrormanager_cron_primary_mirror %}
|
||||||
---
|
---
|
||||||
# Category: {{ cronjob.category }}
|
# Category: {{ cronjob.category }}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Propagation checks
|
# 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
|
apiVersion: batch/v1
|
||||||
kind: CronJob
|
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
|
apiVersion: apps.openshift.io/v1
|
||||||
kind: DeploymentConfig
|
kind: DeploymentConfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue