From 6b323c1e64ed32f47cd2043978cbf1b6dd2248b5 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 12 Oct 2026 11:49:59 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=AD=A3=20ipass-sso=20NodePo?= =?UTF-8?q?rt=2030082=20=E2=86=92=2030089?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ipass-sso 已于 2026-10-12 迁到 NodePort 30089,nginx.conf / CLAUDE.md / iap.md 仍写 30082,按旧端口排查会打错节点。 deploy/k8s/ipass-sso.yaml 与 2026-10-09 spec 已是 30089,仅保留其 历史沿革说明。 Co-Authored-By: Claude Opus 4.8 (1M context) --- CLAUDE.md | 2 +- deploy/nginx.conf | 4 ++-- docs/iap.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index ff670dd..c5ef1b9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -197,5 +197,5 @@ WAF 管理 API 鉴权用 `sk_` API Key(X-API-Key),**不认管理员会话 读配置用 `GET /api/waf/status`(`/api/waf/config` 只有 PUT)。解封单个 IP: `DELETE /api/waf/blocks/`;pod 重启也会清 shm 里的 ban。 -注意:ipass-sso(:30082)镜像里还是旧壳,复现同款空白;要用新壳需按 ipass-sso +注意:ipass-sso(:30089)镜像里还是旧壳,复现同款空白;要用新壳需按 ipass-sso 仓流程重建镜像重发。 diff --git a/deploy/nginx.conf b/deploy/nginx.conf index 5765e28..f11a133 100644 --- a/deploy/nginx.conf +++ b/deploy/nginx.conf @@ -81,7 +81,7 @@ http { upstream app_mobile_backend { server app-mobile-svc:8000; keepalive 16; } # ================================================================== - # 主 server(NodePort 30082):管理台 + IdP 全部端点 + # 主 server(NodePort 30089):管理台 + IdP 全部端点 # ================================================================== # ⚠️ 本次部署为明文 HTTP(2026-09-30 临时方案,TLS 后续接入)。 # 历史:本想用 K8s ConfigMap 把 self-signed cert 注入到 @@ -90,7 +90,7 @@ http { # discovery 链路跑通,证书走 PVC sso/tls/ + 外部流程接入时再切回 # `listen 18098 ssl default_server` + 三条 ssl_certificate 指令。 server { - listen 18098 default_server; # 明文(NodePort 30082) + listen 18098 default_server; # 明文(NodePort 30089) server_name _; absolute_redirect off; diff --git a/docs/iap.md b/docs/iap.md index 64fcabc..74bfe9e 100644 --- a/docs/iap.md +++ b/docs/iap.md @@ -106,7 +106,7 @@ firewall 隔离**或绑定 127.0.0.1。 # ① 拿一个 access_token(OIDC 授权码 → v20/token;/oauth/token 返回的是信封不是裸 token) TOK=$(curl -s -X POST -u 'app-crm:cs_crm_simulated_secret_2026' \ -d "grant_type=authorization_code&code=$CODE&redirect_uri=$REDIRECT_URI" \ - http://192.168.1.26:30082/oauth/v20/token | jq -r .access_token) + http://192.168.1.26:30089/oauth/v20/token | jq -r .access_token) # ② 访问 IAP 端点 curl -i -H "Authorization: Bearer $TOK" http://127.0.0.1:30089/iap-demo/whoami