flatpak-cache: switch to http and not https

Signed-off-by: Leo Puvilland <leo@craftcat.dev>
This commit is contained in:
Leo Puvilland 2024-01-16 09:47:18 -08:00
parent dc1473572e
commit 161b9350ad
No known key found for this signature in database
GPG key ID: 20EA96682F9368EB
3 changed files with 20 additions and 8 deletions

View file

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

View file

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

View file

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