koschei: move to ocp4

This commit is contained in:
Mikolaj Izdebski 2022-06-24 06:44:38 +02:00
parent 5d078537e5
commit 8a586defbc
7 changed files with 9 additions and 9 deletions

View file

@ -502,9 +502,9 @@
website: koschei.fedoraproject.org
destname: koschei
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: koschei

View file

@ -1,5 +1,5 @@
- name: provision koschei
hosts: os_masters[0]:os_masters_stg[0]
hosts: os_control[0]:os_control_stg[0]
user: root
gather_facts: False

View file

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: admin
image: docker-registry.default.svc:5000/koschei/koschei:latest
image: image-registry.openshift-image-registry.svc:5000/koschei/koschei:latest
command: ["/usr/bin/sleep", "infinity"]
env:
- name: SUDO_USER

View file

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: {{service}}
image: docker-registry.default.svc:5000/koschei/koschei:latest
image: image-registry.openshift-image-registry.svc:5000/koschei/koschei:latest
command: [/usr/bin/koschei-{{service}}]
env:
- name: SUDO_USER

View file

@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: "cron-{{name}}"
@ -11,7 +11,7 @@ spec:
spec:
containers:
- name: "cron-{{name}}"
image: "docker-registry.default.svc:5000/koschei/koschei:latest"
image: "image-registry.openshift-image-registry.svc:5000/koschei/koschei:latest"
command: ["/bin/bash", "-euxc", "{{command}}"]
env:
- name: SUDO_USER

View file

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: frontend
image: docker-registry.default.svc:5000/koschei/koschei:latest
image: image-registry.openshift-image-registry.svc:5000/koschei/koschei:latest
command: [/usr/bin/koschei-frontend]
ports:
- containerPort: 8080

View file

@ -7,7 +7,7 @@ spec:
spec:
containers:
- name: "job-{{name}}"
image: "docker-registry.default.svc:5000/koschei/koschei:latest"
image: "image-registry.openshift-image-registry.svc:5000/koschei/koschei:latest"
command: ["/bin/bash", "-euxc", "{{command}}"]
env:
- name: SUDO_USER