You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2026/02/27 01:24:14 UTC
(skywalking-helm) 01/01: Fix SWCK oapserverconfig e2e version mismatch causing pod restart timeout
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch fix-swck-oapserverconfig-version
in repository https://gitbox.apache.org/repos/asf/skywalking-helm.git
commit fb88efd5d2cd5f9920611df2c0b102db7fd9fee7
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Feb 27 09:24:01 2026 +0800
Fix SWCK oapserverconfig e2e version mismatch causing pod restart timeout
The SWCK operator matches OAPServerConfig to OAPServer by spec.version.
The OAPServer uses version "latest" but the oapserverconfig-demo.yaml
has version "9.5.0", so the operator never applies the config and the
OAP pod is never restarted, causing the test to timeout.
---
test/e2e/swck/oap-ui-agent-oapserverconfig.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/e2e/swck/oap-ui-agent-oapserverconfig.yaml b/test/e2e/swck/oap-ui-agent-oapserverconfig.yaml
index ae837da..c9cfbfc 100644
--- a/test/e2e/swck/oap-ui-agent-oapserverconfig.yaml
+++ b/test/e2e/swck/oap-ui-agent-oapserverconfig.yaml
@@ -93,6 +93,7 @@ setup:
command: |
oap_podname=$(kubectl get pod -lapp=oap -n skywalking-system -o jsonpath='{.items[*].metadata.name}')
curl https://raw.githubusercontent.com/apache/skywalking-swck/v0.9.0/test/e2e/oapserverconfig-demo.yaml | \
+ sed 's/version: 9.5.0/version: latest/' | \
sed '/env:/a\ - name: SW_STORAGE\n value: banyandb\n - name: SW_STORAGE_BANYANDB_TARGETS\n value: banyandb-grpc.default:17912' | \
kubectl apply -f -
while kubectl get pod $oap_podname -n skywalking-system > /dev/null 2>&1; \