Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration-snippet annotation #657

Closed
marcelhorner opened this issue Apr 17, 2024 · 1 comment
Closed

configuration-snippet annotation #657

marcelhorner opened this issue Apr 17, 2024 · 1 comment

Comments

@marcelhorner
Copy link

Hello,

I am trying to add authentication to Kubernetes Dashboard, using oauth2-proxy.

When forwarded to Kubernetes Dashboard after authenticated through oatuh2-proxy, it can't find the credentials.

To fix that I believe it is needed to added annotations like the following, on Kubernetes Dashboard ingress:

    nginx.ingress.kubernetes.io/configuration-snippet: |
      auth_request_set $access_token $upstream_http_x_auth_request_access_token;
      proxy_set_header Authorization "Bearer $access_token";

I couldn't find equivalent annotation for Netscaler Ingress Controller. Is is possible to achieve this with Netscaler Ingress Controller?

Thank you!

@marcelhorner
Copy link
Author

Kubernetes Dashboard SSO auth wiht Azure was configured with CRD, as described on this documentation:
https://docs.netscaler.com/en-us/netscaler-k8s-ingress-controller/crds/auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant