feat: added deployment
This commit is contained in:
1 parent
91ae771ca2
commit
7cba626704
9 files changed
+208
No files matched your search
@@ -0,0 +1,25 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: hearth-api
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.middlewares: services-hearth-api-strip@kubernetescrd
|
||||
# Owns the certificate until the web ingress exists; the web ingress then reuses hearth-greboh-dev-tls.
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- hearth.greboh.dev
|
||||
secretName: hearth-greboh-dev-tls
|
||||
rules:
|
||||
- host: hearth.greboh.dev
|
||||
http:
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hearth-api
|
||||
port:
|
||||
name: http
|
||||
Reference in new issue
Block a user