mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
@@ -889,9 +889,9 @@
|
||||
website: mdapi.fedoraproject.org
|
||||
destname: mdapi
|
||||
balancer_name: app-os
|
||||
balancer_members: "{{ (env == 'staging')|ternary(openshift_nodes_stg, openshift_nodes) }}"
|
||||
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
|
||||
targettype: openshift
|
||||
ocp4: false
|
||||
ocp4: true
|
||||
keephost: true
|
||||
tags: mdapi
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
- name: make the app be real
|
||||
hosts: os_masters_stg[0]:os_masters[0]
|
||||
hosts: os_control_stg[0]:os_control[0]
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: mdapi
|
||||
image: docker-registry.default.svc:5000/mdapi/mdapi:latest
|
||||
image: image-registry.openshift-image-registry.svc:5000/mdapi/mdapi:latest
|
||||
command: ["bash", "-c", "/code/mdapi-get_repo_md /etc/mdapi/mdapi.cfg"]
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
|
||||
Reference in New Issue
Block a user