diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index bc837bb2c7..02008b6e85 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -923,6 +923,7 @@ targettype: openshift ocp4: true keephost: true + http_not_https_yes_this_is_insecure_and_i_feel_bad: true tags: - flatpak-cache.stg.fedoraproject.org when: env == "staging" diff --git a/playbooks/openshift-apps/flatpak-cache.yml b/playbooks/openshift-apps/flatpak-cache.yml index 1859d23e06..df65c8c98c 100644 --- a/playbooks/openshift-apps/flatpak-cache.yml +++ b/playbooks/openshift-apps/flatpak-cache.yml @@ -75,15 +75,10 @@ annotations: haproxy.router.openshift.io/timeout: 5m - - role: openshift/route + - role: openshift/object app: flatpak-cache - routename: web-direct - host: "flatpak-cache{{ env_suffix }}.fedoraproject.org" - servicename: flatpak-cache - serviceport: web - termination_passthrough: true - annotations: - haproxy.router.openshift.io/timeout: 5m + file: route.yml + objectname: route.yml - role: openshift/object app: flatpak-cache diff --git a/roles/openshift-apps/flatpak-cache/files/route.yml b/roles/openshift-apps/flatpak-cache/files/route.yml new file mode 100644 index 0000000000..5f2ed02d56 --- /dev/null +++ b/roles/openshift-apps/flatpak-cache/files/route.yml @@ -0,0 +1,16 @@ +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + annotations: + haproxy.router.openshift.io/timeout: 5m + labels: + app: flatpak-cache + name: web-direct + namespace: flatpak-cache +spec: + host: flatpak-cache.stg.fedoraproject.org + port: + targetPort: web + to: + kind: Service + name: flatpak-cache