Feat: add k8s(kustomize) support
This commit is contained in:
24
k8s/ingress.yaml
Normal file
24
k8s/ingress.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
namespace: cnd2025
|
||||
name: cnd2025
|
||||
spec:
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: cnd2025-frontend
|
||||
port:
|
||||
number: 80
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: cnd2025-backend
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user