Adjust smoke test service for kind cluster

This commit is contained in:
Qingshan Chen
2026-03-23 16:32:44 +08:00
parent 4aa503c43e
commit 36baef3073
+15
View File
@@ -139,6 +139,21 @@ jobs:
flags=re.S,
)
text = re.sub(
r"(kind: Service\s+metadata:\s+name: clawmanager-frontend\s+namespace: clawmanager-system\s+spec:\s+)type: NodePort",
r"\1type: ClusterIP",
text,
count=1,
flags=re.S,
)
text = re.sub(
r"\n\s+nodePort:\s+39443",
"",
text,
count=1,
)
path.write_text(text, encoding="utf-8")
PY