JohnnyQianP commented on issue #6936: URL: https://github.com/apache/apisix/issues/6936#issuecomment-1110859377
@tzssangglass I didn't install etcd for apisix alone in K8S @tokers hi I have already set the config in container, you see, In container env: ``` # curl -X PUT 'http://localhost:9180/apisix/admin/routes/r1' -H 'X-API-KEY: edd1c9f034335f136f87 ad84b625c8f1' -d '{ "uri":"/apisix/plugin/jwt/sign", "plugins":{ "public-api": {} } }' {"action":"set","node":{"value":{"status":1,"plugins":{"public-api":{}},"uri":"\/apisix\/plugin\/jwt\/sign","id":"r1","update_time":1651055428,"priority":0,"create_time":1651055428},"key":"\/apisix\/routes\/r1"}} ``` It can be put. But: ``` # curl http://localhost:9180/apisix/plugin/jwt/sign?key=genpack-key -i HTTP/1.1 404 Not Found Server: openresty Date: Wed, 27 Apr 2022 10:32:20 GMT Content-Type: text/html; charset=utf-8 Content-Length: 150 Connection: keep-alive ``` Also, It shows 403 in K8S env What I'm doing wrong, pls let me know -- 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]
