You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "hndoss (via GitHub)" <gi...@apache.org> on 2023/02/01 21:04:33 UTC

[GitHub] [apisix-ingress-controller] hndoss opened a new issue, #1639: request help: How to add Basic Auth with Ingress annotations

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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1639: request help: How to add Basic Auth with Ingress annotations

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1639:
URL: https://github.com/apache/apisix-ingress-controller/issues/1639#issuecomment-1415104381

   you can refer to this one https://github.com/apache/apisix-ingress-controller/blob/75030566f324af508febd1cfaa65320565c938ec/test/e2e/suite-annotations/authorization.go#L185-L186


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1639: docs: How to add Basic Auth with Ingress annotations

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1639:
URL: https://github.com/apache/apisix-ingress-controller/issues/1639#issuecomment-1535587900

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1639: docs: How to add Basic Auth with Ingress annotations

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1639: docs: How to add Basic Auth with Ingress annotations
URL: https://github.com/apache/apisix-ingress-controller/issues/1639


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1639: docs: How to add Basic Auth with Ingress annotations

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1639:
URL: https://github.com/apache/apisix-ingress-controller/issues/1639#issuecomment-1415113348

   ref https://github.com/apache/apisix-ingress-controller/issues/782


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1639: docs: How to add Basic Auth with Ingress annotations

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1639:
URL: https://github.com/apache/apisix-ingress-controller/issues/1639#issuecomment-1575314556

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org