renatomattos2912 commented on issue #1003:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1003#issuecomment-1448142628

   > Hi @renatomattos2912 I think you can call admin-api to check. I repeat 
your steps. It works.
   > 
   > ```shell
   > apisix@apisix-5659f6c47f-rpsjl:/usr/local/apisix$ curl 
http://127.0.0.1:9180/apisix/admin/plugin_configs -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1'
   > 
   > 
{"total":1,"list":[{"key":"\/apisix\/plugin_configs\/8c7b63c3","createdIndex":15,"value":{"update_time":1677552309,"plugins":{"cors":{"max_age":5,"allow_methods":"**","allow_headers":"**"
   > 
,"expose_headers":"**","allow_origins":"http:\/\/localhost:3000","allow_credential":true}},"desc":"Created
 by apisix-ingress-controller, DO NOT modify it 
manually","id":"8c7b63c3","create
   > 
_time":1677552262,"labels":{"managed-by":"apisix-ingress-controller"},"name":"default_public-endpoints"},"modifiedIndex":22}]}
   > 
   > apisix@apisix-5659f6c47f-rpsjl:/usr/local/apisix$ curl 
http://127.0.0.1:9180/apisix/admin/routes -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1'
   > 
   > 
{"total":1,"list":[{"key":"\/apisix\/routes\/3d52f609","createdIndex":17,"value":{"hosts":["localhost"],"priority":0,"desc":"Created
 by apisix-ingress-controller, DO NOT modify it manuall
   > 
y","labels":{"managed-by":"apisix-ingress-controller"},"uris":["\/test"],"status":1,"update_time":1677552309,"plugin_config_id":"8c7b63c3","name":"default_route-test_rule1","id":"3d52f609
   > 
","create_time":1677552276,"upstream_id":"5ce57b8e","methods":["OPTIONS","GET"]},"modifiedIndex":25}]}
   > ```
   
   Hi @AlinsRan, in API it works, but my problem is using CRDs, cause im using 
terraform to apply this CRDs and automate my infra.


-- 
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