feat: add direct PostgreSQL and ACK deployment support
This commit is contained in:
1 parent
d0192081c7
commit
c44274f098
55 files changed
+3317
-1064
No files matched your search
@@ -0,0 +1,33 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: zhinian-web
|
||||
namespace: zhinian
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 100m
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: REPLACE_WITH_PUBLIC_HOST
|
||||
http:
|
||||
paths:
|
||||
# Longest-prefix matching sends public internal-API traffic to the
|
||||
# selectorless deny Service instead of the Web workload.
|
||||
- path: /api/internal/worker
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: zhinian-public-deny
|
||||
port:
|
||||
number: 80
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: zhinian-web
|
||||
port:
|
||||
number: 3000
|
||||
tls:
|
||||
- hosts:
|
||||
- REPLACE_WITH_PUBLIC_HOST
|
||||
secretName: REPLACE_WITH_TLS_SECRET
|
||||
Reference in new issue
Block a user