feat(bootstrap): 添加命名空间定义并禁用网关入口
添加 longhorn-system 和 mixingx 命名空间定义, 并设置 ArgoCD 同步波次为 -1 以确保优先创建。 同时禁用 basic-test 环境中的网关入口功能。
This commit is contained in:
1 parent
e26d1934d6
commit
df5778f2fc
3 files changed
+34
-4
No files matched your search
@@ -0,0 +1,19 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gateway-ip-ingress
|
||||
namespace: mixingx
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gateway-service
|
||||
port:
|
||||
number: 8080
|
||||
@@ -1,3 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: longhorn-system
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: mixingx
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
|
||||
@@ -4,7 +4,4 @@ gateway:
|
||||
rbac: true
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
domain: app.mixingx.local
|
||||
gatewayService: gateway-service
|
||||
gatewayPort: 8080
|
||||
enabled: false
|
||||
Reference in new issue
Block a user