Add kubernetes deployment specs

This commit is contained in:
2022-06-25 20:55:06 -05:00
parent 04ea16743d
commit 562ada3af5
10 changed files with 339 additions and 3 deletions

25
deploy/4-ingress.yaml Normal file
View File

@@ -0,0 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: coreid-ingress
namespace: starship
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: 'false'
spec:
tls:
- hosts:
- ${COREID_DOMAIN}
secretName: coreid-tls-secret
ingressClassName: nginx
rules:
- host: ${COREID_DOMAIN}
http:
paths:
- pathType: Prefix
path: '/'
backend:
service:
name: coreid-web
port:
number: 80