From e6e093b7a1c1557445662fb791fbd1c9bb47ec89 Mon Sep 17 00:00:00 2001 From: william Date: Sat, 7 Jun 2025 21:47:23 +0800 Subject: [PATCH] 1 --- gp2505/ingress.yaml | 22 +++++++++---------- gp2505/kustomization.yaml | 2 +- .../patch/redis-service-nodeport_patch.yaml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gp2505/ingress.yaml b/gp2505/ingress.yaml index f548336..f2c2e01 100644 --- a/gp2505/ingress.yaml +++ b/gp2505/ingress.yaml @@ -6,7 +6,7 @@ metadata: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/proxy-body-size: "10m" nginx.ingress.kubernetes.io/use-forwarded-headers: "true" - nginx.ingress.kubernetes.io/auth-tls-secret: "gp2504/ca-secret" + nginx.ingress.kubernetes.io/auth-tls-secret: "gp2505/ca-secret" nginx.ingress.kubernetes.io/auth-tls-verify-client: "on" nginx.ingress.kubernetes.io/auth-tls-verify-depth: "2" nginx.ingress.kubernetes.io/auth-tls-pass-certificate-to-upstream: "true" @@ -18,14 +18,14 @@ metadata: spec: tls: - hosts: - - api-g2504.qq.com - - h5-g2504.qq.com - - down-g2504.qq.com - - admin-g2504.qq.com - - agent-g2504.qq.com + - api-g2505.qq.com + - h5-g2505.qq.com + - down-g2505.qq.com + - admin-g2505.qq.com + - agent-g2505.qq.com secretName: tls-secret rules: - - host: api-g2504.qq.com + - host: api-g2505.qq.com http: paths: - path: / @@ -42,7 +42,7 @@ spec: name: external-service port: number: 80 - - host: down-g2504.qq.com + - host: down-g2505.qq.com http: paths: - path: / @@ -59,7 +59,7 @@ spec: name: download-api-service port: number: 80 - - host: h5-g2504.qq.com + - host: h5-g2505.qq.com http: paths: - path: / @@ -83,7 +83,7 @@ spec: name: external-service port: number: 80 - - host: admin-g2504.qq.com + - host: admin-g2505.qq.com http: paths: - path: / @@ -114,7 +114,7 @@ spec: name: external-service port: number: 80 - - host: agent-g2504.qq.com + - host: agent-g2505.qq.com http: paths: - path: / diff --git a/gp2505/kustomization.yaml b/gp2505/kustomization.yaml index b8cb6c2..2e95bf0 100644 --- a/gp2505/kustomization.yaml +++ b/gp2505/kustomization.yaml @@ -1,6 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -namespace: gp2504 +namespace: gp2505 resources: - api2.yaml diff --git a/gp2505/patch/redis-service-nodeport_patch.yaml b/gp2505/patch/redis-service-nodeport_patch.yaml index 3065310..17c9c8f 100644 --- a/gp2505/patch/redis-service-nodeport_patch.yaml +++ b/gp2505/patch/redis-service-nodeport_patch.yaml @@ -7,6 +7,6 @@ spec: ports: - port: 6379 targetPort: 6379 - nodePort: 32504 # 可选,如果不指定,Kubernetes 会自动分配 + nodePort: 32505 selector: app: redis \ No newline at end of file