mirrormanager - rename yaml/yml templates to .j2
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
This commit is contained in:
parent
37a51ffbcc
commit
b28dfa4115
13 changed files with 18 additions and 18 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: buildconfig.yml
|
||||
object_template: buildconfig.yml.j2
|
||||
object_objectname: buildconfig.yml
|
||||
|
||||
- role: openshift/object
|
||||
|
@ -73,12 +73,12 @@
|
|||
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: secrets.yml
|
||||
object_template: secrets.yml.j2
|
||||
object_objectname: secrets.yml
|
||||
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: configmap.yml
|
||||
object_template: configmap.yml.j2
|
||||
object_objectname: configmap.yml
|
||||
|
||||
- role: openshift/object
|
||||
|
@ -133,35 +133,35 @@
|
|||
# Deployment config
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: deploymentconfig.yml
|
||||
object_template: deploymentconfig.yml.j2
|
||||
object_objectname: deploymentconfig.yml
|
||||
|
||||
# Cron jobs
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-crawler.yml
|
||||
object_template: cron-crawler.yml.j2
|
||||
object_objectname: cron-crawler.yml
|
||||
when: env == "production"
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-propagation.yml
|
||||
object_template: cron-propagation.yml.j2
|
||||
object_objectname: cron-propagation.yml
|
||||
when: env == "production"
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-accesses.yml
|
||||
object_template: cron-accesses.yml.j2
|
||||
object_objectname: cron-accesses.yml
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-mirrorlist-cache.yml
|
||||
object_template: cron-mirrorlist-cache.yml.j2
|
||||
object_objectname: cron-mirrorlist-cache.yml
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-geoip.yml
|
||||
object_template: cron-geoip.yml.j2
|
||||
object_objectname: cron-geoip.yml
|
||||
- role: openshift/object
|
||||
object_app: mirrormanager
|
||||
object_template: cron-primary-mirror.yml
|
||||
object_template: cron-primary-mirror.yml.j2
|
||||
object_objectname: cron-primary-mirror.yml
|
||||
|
||||
- role: openshift/start-build
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env %}
|
||||
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env %}
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
### Crawler cron jobs
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
{% from "_macros.yml.j2" 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 with context %}
|
||||
{% from "_macros.yml.j2" 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 with context %}
|
||||
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
---
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
|
@ -1,6 +1,6 @@
|
|||
### Primary mirror scanning cron jobs
|
||||
#
|
||||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
{% from "_macros.yml.j2" 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 with context %}
|
||||
{% from "_macros.yml.j2" 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 with context %}
|
||||
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
---
|
||||
apiVersion: apps.openshift.io/v1
|
||||
kind: DeploymentConfig
|
|
@ -1,4 +1,4 @@
|
|||
{% from "_macros.yml" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
{% from "_macros.yml.j2" import common_volume_mounts, common_volumes, common_env, security_context with context %}
|
||||
# A template for manual commands
|
||||
---
|
||||
apiVersion: batch/v1
|
Loading…
Add table
Add a link
Reference in a new issue