hndoss opened a new issue, #1639:
URL: https://github.com/apache/apisix-ingress-controller/issues/1639

   ### Issue description
   
   We have a general ApisixPluginConfig that is used by all of our ingresses. A 
particular ingress needs to have basic auth and I think a very convenient way 
would be to use annotations as nginx allows. I don't see any annotation in 
[this 
list](https://apisix.apache.org/docs/ingress-controller/concepts/annotations/) 
that can help me with this.
   
   ````
   nginx.ingress.kubernetes.io/auth-secret: my-secret
   nginx.ingress.kubernetes.io/auth-type: basic
   ```
   
   In this way, I can apply the configuration I need to this ingress that is 
different from all but needs the general ApisixPluginConfig that all ingresses 
use.
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long):
   ```
   /ingress-apisix # /ingress-apisix/apisix-ingress-controller version --long
   Version: 1.6.0
   Git SHA: no-git-module
   Go Version: go1.19.4
   Building OS/Arch: linux/amd64
   Running OS/Arch: linux/amd64
   ```
   
   - your Kubernetes cluster version (output of kubectl version):
   ```
   Client Version: v1.25.4
   Kustomize Version: v4.5.7
   Server Version: v1.21.14-gke.3000
   ```
   
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   


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