From e6e745609e2ef2b9145ff773566fe874ef684fd9 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 14 Dec 2023 08:59:02 +0100 Subject: [PATCH] apps(stackgres): Add HTTP route --- apps/stackgres/app.yaml | 1 + apps/stackgres/app/route.yaml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 apps/stackgres/app/route.yaml diff --git a/apps/stackgres/app.yaml b/apps/stackgres/app.yaml index 74fb167..3bc60fe 100644 --- a/apps/stackgres/app.yaml +++ b/apps/stackgres/app.yaml @@ -6,3 +6,4 @@ metadata: resources: - app/namespace.yaml - app/release.yaml + - app/route.yaml diff --git a/apps/stackgres/app/route.yaml b/apps/stackgres/app/route.yaml new file mode 100644 index 0000000..154baac --- /dev/null +++ b/apps/stackgres/app/route.yaml @@ -0,0 +1,17 @@ +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: stackgres-ui-route + namespace: stackgres +spec: + entryPoints: + - web + routes: + - match: Host(`stackgres.trivernis.dev`) + kind: Rule + middlewares: + - name: strict-security-headers + namespace: default + services: + - name: stackgres-restapi + port: http