Files
bluejay-infra/apps-gx10/fc-updater/ingressroute-updatecenter-web-public-gx10.json

30 lines
689 B
JSON

{
"apiVersion": "traefik.io/v1alpha1",
"kind": "IngressRoute",
"metadata": {
"name": "updatecenter-web-public-gx10",
"namespace": "fc-updater"
},
"spec": {
"entryPoints": [
"websecure"
],
"routes": [
{
"kind": "Rule",
"match": "(Host(`update.flowercore.io`) || Host(`updates.flowercore.io`)) && (Method(`GET`) || Method(`HEAD`) || Method(`POST`) || Method(`OPTIONS`))",
"priority": 100,
"services": [
{
"name": "updatecenter-web",
"port": 8080
}
]
}
],
"tls": {
"secretName": "cf-origin-flowercore-io"
}
}
}