This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch fix/cve-2026-03-20
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git


The following commit(s) were added to refs/heads/fix/cve-2026-03-20 by this 
push:
     new 1dbfdce  fix(e2e): use explicit :latest tag for operator image in CI
1dbfdce is described below

commit 1dbfdce733beba0e088f00fc3399d11f6c1a6e0e
Author: kezhenxu94 <[email protected]>
AuthorDate: Fri Mar 20 15:07:40 2026 +0800

    fix(e2e): use explicit :latest tag for operator image in CI
    
    kustomize edit set image with a tagless image name leaves the existing
    newTag (v0.8.0) in config/manager/kustomization.yaml intact, causing
    the operator deployment to request controller:v0.8.0 while kind only
    has controller:latest loaded — resulting in ImagePullBackOff and the
    pod never becoming Ready.
    
    Using controller:latest explicitly forces kustomize to set newTag:latest,
    ensuring the locally loaded image is used.
---
 test/e2e/banyandb/e2e.yaml                                            | 4 ++--
 test/e2e/oap-agent-adapter-hpa/e2e.yaml                               | 4 ++--
 test/e2e/oap-eventexporter/e2e.yaml                                   | 4 ++--
 test/e2e/oap-satellite-adapter-hpa/e2e.yaml                           | 4 ++--
 test/e2e/oap-ui-agent-external-storage/e2e.yaml                       | 4 ++--
 test/e2e/oap-ui-agent-internal-storage/e2e.yaml                       | 4 ++--
 test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml | 4 ++--
 test/e2e/oap-ui-agent-satellite/e2e.yaml                              | 4 ++--
 test/e2e/oap-ui-agent/e2e.yaml                                        | 4 ++--
 test/e2e/oap-ui-swagent-configmap/e2e.yaml                            | 4 ++--
 test/e2e/oap-ui-swagent/e2e.yaml                                      | 4 ++--
 11 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/test/e2e/banyandb/e2e.yaml b/test/e2e/banyandb/e2e.yaml
index 654d6a4..b8e5eea 100644
--- a/test/e2e/banyandb/e2e.yaml
+++ b/test/e2e/banyandb/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-agent-adapter-hpa/e2e.yaml 
b/test/e2e/oap-agent-adapter-hpa/e2e.yaml
index f8f6410..47f194b 100644
--- a/test/e2e/oap-agent-adapter-hpa/e2e.yaml
+++ b/test/e2e/oap-agent-adapter-hpa/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-eventexporter/e2e.yaml 
b/test/e2e/oap-eventexporter/e2e.yaml
index 81d4034..21579dd 100644
--- a/test/e2e/oap-eventexporter/e2e.yaml
+++ b/test/e2e/oap-eventexporter/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-satellite-adapter-hpa/e2e.yaml 
b/test/e2e/oap-satellite-adapter-hpa/e2e.yaml
index bae1701..435513d 100644
--- a/test/e2e/oap-satellite-adapter-hpa/e2e.yaml
+++ b/test/e2e/oap-satellite-adapter-hpa/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-agent-external-storage/e2e.yaml 
b/test/e2e/oap-ui-agent-external-storage/e2e.yaml
index f8e1c74..9e88524 100644
--- a/test/e2e/oap-ui-agent-external-storage/e2e.yaml
+++ b/test/e2e/oap-ui-agent-external-storage/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-agent-internal-storage/e2e.yaml 
b/test/e2e/oap-ui-agent-internal-storage/e2e.yaml
index ad24aba..f000a58 100644
--- a/test/e2e/oap-ui-agent-internal-storage/e2e.yaml
+++ b/test/e2e/oap-ui-agent-internal-storage/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git 
a/test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml 
b/test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml
index 49329a8..dd8c2a4 100644
--- a/test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml
+++ b/test/e2e/oap-ui-agent-oapserverconfig-oapserverdynamicconfig/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-agent-satellite/e2e.yaml 
b/test/e2e/oap-ui-agent-satellite/e2e.yaml
index fb731cd..4991d51 100644
--- a/test/e2e/oap-ui-agent-satellite/e2e.yaml
+++ b/test/e2e/oap-ui-agent-satellite/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-agent/e2e.yaml b/test/e2e/oap-ui-agent/e2e.yaml
index 774fb61..f2acd75 100644
--- a/test/e2e/oap-ui-agent/e2e.yaml
+++ b/test/e2e/oap-ui-agent/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-swagent-configmap/e2e.yaml 
b/test/e2e/oap-ui-swagent-configmap/e2e.yaml
index 23510f5..017c80c 100644
--- a/test/e2e/oap-ui-swagent-configmap/e2e.yaml
+++ b/test/e2e/oap-ui-swagent-configmap/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:
diff --git a/test/e2e/oap-ui-swagent/e2e.yaml b/test/e2e/oap-ui-swagent/e2e.yaml
index 848a3d2..054fc32 100644
--- a/test/e2e/oap-ui-swagent/e2e.yaml
+++ b/test/e2e/oap-ui-swagent/e2e.yaml
@@ -30,9 +30,9 @@ setup:
           for: condition=Ready
     - name: install operator
       command: |
-        export OPERATOR_IMG=controller
+        export OPERATOR_IMG=controller:latest
         make -C operator docker-build   
-        kind load docker-image controller
+        kind load docker-image controller:latest
         make -C operator install
         make -C operator deploy
       wait:

Reply via email to