feat: sync mode modify api server & add ut for mode run and mode sync (#704)

* feat: mode sync modify kubeconfig apiserver to in cluster apiserver
* feat: add ut for sync mode and run mode
* fix: bugs
This commit is contained in:
naison
2025-08-21 22:45:47 +08:00
committed by GitHub
parent 4df63d1642
commit 98c4a61ca1
29 changed files with 1787 additions and 393 deletions

View File

@@ -58,7 +58,7 @@ jobs:
- name: Wait for pods reviews to be ready
run: |
kubectl wait --for=condition=Ready pods --all --timeout=3600s
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
kubectl get svc -A -o wide
kubectl get pod -A -o wide
kubectl get all -o wide

View File

@@ -74,7 +74,7 @@ jobs:
- name: Wait for pods reviews to be ready
run: |
kubectl wait --for=condition=Ready pods --all --timeout=3600s
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
kubectl get svc -A -o wide
kubectl get pod -A -o wide
kubectl get all -o wide
@@ -146,7 +146,7 @@ jobs:
- name: Wait for pods reviews to be ready
run: |
kubectl wait --for=condition=Ready pods --all --timeout=3600s
while ! kubectl wait --for=condition=Ready pods --all --timeout=3600s; do sleep 2; done
kubectl get svc -A -o wide || true
kubectl get pod -A -o wide || true
kubectl get all -o wide || true
@@ -155,6 +155,9 @@ jobs:
netstat -anr
- name: Test
# for docker mount
env:
TMPDIR: /tmp
run: make ut
windows: