haowang-pony edited a comment on issue #710:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/710#issuecomment-942887452


   > This is normal, because apisix and apisix-ingress-controller are two 
independent software. The former supports the use of environment variables when 
parsing configuration files( [code 
link](https://github.com/apache/apisix/blob/master/apisix/cli/file.lua#L55-L55) 
), and the latter has not been implemented. Of course this is a nice feature, 
we can consider supporting it.
   
   Thanks for quick response! Looking forward to this feature.
   
   And could I just use the k8s command flags to config the 
apisix-ingress-controller. Is this recommend practice before this feature? 
   
   ```
       command=[
           "/ingress-apisix/apisix-ingress-controller",
           "ingress",
           "--log-level",
           "debug",
           "--log-output",
           "stderr",
           "--http-listen",
           ":8080",
           // namespaces that controller will watch for resources
           "--app-namespace",
           "*",
           "--apisix-route-version",
           "apisix.apache.org/v2beta1",
           "--default-apisix-cluster-base-url",
           "http://apisix-admin.ingress-apisix:9180/apisix/admin";,
           "--default-apisix-cluster-admin-key",
           "$(ADMIN_PASSWORD)",
         ],
   ```


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