Skip to content

Commit

Permalink
added ingress k8s manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
imilchev committed Sep 30, 2021
1 parent 870bb1d commit 98c426c
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
33 changes: 33 additions & 0 deletions manifests/dev/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions manifests/prd/ingress.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 98c426c

Please sign in to comment.