adugeek opened a new issue #5102:
URL: https://github.com/apache/apisix/issues/5102


   ### Issue description
   
   In this pr: https://github.com/apache/apisix/pull/4880/
   
   I had set   environment variable
     + KUBERNETES_CLIENT_TOKEN
     + KUBERNETES_CLIENT_TOKEN_FILE
   
   in test file  BEGIN
   
   and ,It's work fine but   [**CI Centos7 / run ci on 
centos7**](https://github.com/apache/apisix/pull/4880/checks?check_run_id=3643480740)
   
   error message is 
   ```text
   2021-09-19T05:51:56.3501884Z #   Failed test 'TEST 3: use specify parameters 
- pattern "[error]" should not match any line in error.log but matches line 
"2021/09/19 05:51:55 [error] 20603#20603: init_worker_by_lua error: 
/apisix/apisix/discovery/k8s.lua:698: not found environment variable 
KUBERNETES_CLIENT_TOKEN" (req 0)
   
   ```
   
   Someone can help ? TKS
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to