fickit: Add QA platform
This commit is contained in:
parent
bbe2072b4f
commit
e000778696
4 changed files with 43 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ onboot:
|
|||
net: /run/netns/nginx
|
||||
- name: frontal-ip-setup # without bonding
|
||||
image: linuxkit/ip:c88e3272e3b12edec454e4720da8bb70a7655bc7
|
||||
command: ["/bin/sh", "-c", "ip link set name bond-frontal eth3; ip link set bond-frontal up; ip a add 10.42.192.3/24 dev bond-frontal; ip a add 91.243.117.240/32 dev bond-frontal; ip r add default via 10.42.192.1; ip link add link bond-frontal name internet type vlan id 4; ip link set internet up;" ]
|
||||
command: ["/bin/sh", "-c", "ip link set name bond-frontal eth3; ip link set bond-frontal up; ip a add 10.42.192.3/24 dev bond-frontal; ip a add 91.243.117.240/32 dev bond-frontal; ip r add default via 10.42.192.1; ip link add link bond-frontal name internet type vlan id 4; ip a add 10.10.10.2/29 dev internet; ip link set internet up;" ]
|
||||
net: /run/netns/nginx
|
||||
runtime:
|
||||
interfaces:
|
||||
|
|
@ -334,6 +334,17 @@ files:
|
|||
- path: etc/nginx/fic-get-team.conf
|
||||
source: configs/nginx/get-team/oidc.conf
|
||||
mode: "0400"
|
||||
- path: etc/nginx/conf.d/qa.fic-conf
|
||||
contents: |
|
||||
location /qa {
|
||||
include fic-get-team.conf;
|
||||
|
||||
proxy_pass http://deimos:8083;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-FIC-Team $team;
|
||||
proxy_redirect off;
|
||||
}
|
||||
mode: "0400"
|
||||
|
||||
- path: etc/dex/config.auth.yaml
|
||||
source: configs/dex.yaml
|
||||
|
|
|
|||
Reference in a new issue