From 98c426c4f8d19c5978c544aa8dc49ce4a5a23d6f Mon Sep 17 00:00:00 2001 From: Ivan Milchev Date: Thu, 30 Sep 2021 21:41:34 +0300 Subject: [PATCH] added ingress k8s manifests --- manifests/dev/ingress.yaml | 33 +++++++++++++++++++++++++++++++++ manifests/prd/ingress.yaml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 manifests/dev/ingress.yaml create mode 100644 manifests/prd/ingress.yaml diff --git a/manifests/dev/ingress.yaml b/manifests/dev/ingress.yaml new file mode 100644 index 000000000..d534cd2c1 --- /dev/null +++ b/manifests/dev/ingress.yaml @@ -0,0 +1,33 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: web + namespace: podkrepibg-dev +spec: + rules: + - host: dev.podkrepi.bg + http: + paths: + - backend: + service: + name: frontend-headless + port: + number: 3040 + pathType: ImplementationSpecific + - backend: + service: + name: api-headless + port: + number: 80 + path: /docs + pathType: Prefix + - backend: + service: + name: api-headless + port: + number: 80 + path: /api + pathType: Prefix + tls: + - hosts: + - dev.podkrepi.bg diff --git a/manifests/prd/ingress.yaml b/manifests/prd/ingress.yaml new file mode 100644 index 000000000..9ecebdc6d --- /dev/null +++ b/manifests/prd/ingress.yaml @@ -0,0 +1,33 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: web + namespace: podkrepibg +spec: + rules: + - host: podkrepi.bg + http: + paths: + - backend: + service: + name: frontend-headless + port: + number: 3040 + pathType: ImplementationSpecific + - backend: + service: + name: api-headless + port: + number: 80 + path: /docs + pathType: Prefix + - backend: + service: + name: api-headless + port: + number: 80 + path: /api + pathType: Prefix + tls: + - hosts: + - podkrepi.bg