Move Noggin to OCP4 on staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
80b61920c2
commit
5cbf46d3b4
4 changed files with 16 additions and 4 deletions
|
@ -192,6 +192,18 @@
|
|||
targettype: openshift
|
||||
keephost: true
|
||||
tags: noggin
|
||||
when: env != "staging"
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: "accounts{{ env_suffix }}.fedoraproject.org"
|
||||
destname: noggin
|
||||
balancer_name: apps-ocp
|
||||
balancer_members: "{{ (env == 'staging')|ternary(ocp_nodes_stg, ocp_nodes) }}"
|
||||
targettype: openshift
|
||||
keephost: true
|
||||
ocp4: true
|
||||
tags: noggin
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: "fasjson{{ env_suffix }}.fedoraproject.org"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
vars:
|
||||
- ocp4: true
|
||||
|
||||
roles:
|
||||
- role: openshift/project
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: make the app be real
|
||||
hosts: os_masters[0]:os_masters_stg[0]
|
||||
hosts: os_masters[0]:os_control_stg[0]
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
|
|
@ -22,8 +22,9 @@ spec:
|
|||
sourceStrategy:
|
||||
from:
|
||||
{% if env == "staging" %}
|
||||
kind: DockerImage
|
||||
name: registry.access.redhat.com/ubi8/python-39
|
||||
kind: ImageStreamTag
|
||||
name: python:3.9-ubi8
|
||||
namespace: openshift
|
||||
{% else %}
|
||||
kind: ImageStreamTag
|
||||
name: python:3.6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue