resultsdb / staging: point stg proxies to ocp4 resultsdb
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
c8e57312b2
commit
97659b755b
2 changed files with 34 additions and 0 deletions
|
@ -559,6 +559,31 @@
|
|||
http_not_https_yes_this_is_insecure_and_i_feel_bad: true
|
||||
when: env == "staging"
|
||||
|
||||
### staging entries for resultsdb and resultsdb_frontend
|
||||
- role: httpd/reverseproxy
|
||||
website: resultsdb.stg.fedoraproject.org
|
||||
destname: resultsdb-resultsdb
|
||||
localpath: /
|
||||
remotepath: /web
|
||||
balancer_name: resultsdb-stg
|
||||
targettype: openshift
|
||||
ocp4: true
|
||||
balancer_members: "{{ ocp_nodes_stg }}"
|
||||
keephost: true
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/reverseproxy
|
||||
website: resultsdb.stg.fedoraproject.org
|
||||
destname: resultsdb-resultsdbapi
|
||||
localpath: /api
|
||||
remotepath: /api
|
||||
balancer_name: resultsdb-stg
|
||||
targettype: openshift
|
||||
ocp4: true
|
||||
balancer_members: "{{ ocp_nodes_stg }}"
|
||||
keephost: true
|
||||
when: env == "staging"
|
||||
|
||||
# This one gets its own role (instead of httpd/reverseproxy) so that it can
|
||||
# copy in some silly static resources (globe.png, index.html)
|
||||
- role: geoip-city-wsgi/proxy
|
||||
|
|
|
@ -802,6 +802,15 @@
|
|||
cert_name: "{{wildcard_cert_name}}"
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/website
|
||||
site_name: resultsdb.stg.fedoraproject.org
|
||||
server_aliases: [resultsdb.stg.fedoraproject.org]
|
||||
# Set this explicitly to stg here.. as per the original puppet config.
|
||||
SSLCertificateChainFile: wildcard-2022.stg.fedoraproject.org.intermediate.cert
|
||||
sslonly: true
|
||||
cert_name: "{{wildcard_cert_name}}"
|
||||
when: env == "staging"
|
||||
|
||||
- role: httpd/website
|
||||
site_name: lists.fedoraproject.org
|
||||
server_aliases: [lists.stg.fedoraproject.org]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue