Move Noggin to OCP4 on staging

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-05-13 11:03:24 +02:00
parent 80b61920c2
commit 5cbf46d3b4
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
4 changed files with 16 additions and 4 deletions

View file

@ -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"

View file

@ -9,7 +9,6 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars:
- ocp4: true
roles:
- role: openshift/project

View file

@ -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

View file

@ -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