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

How to enable authentication for GKE ingress #914

Closed
naidu571 opened this issue Oct 25, 2019 · 2 comments
Closed

How to enable authentication for GKE ingress #914

naidu571 opened this issue Oct 25, 2019 · 2 comments

Comments

@naidu571
Copy link

I am using the below annotations to enable basic authentication on gke ingress for getting into one of the application workload but its not working as its not asking for credentials when I hit the ingress IPAddress.
I even enabled the tls termination for this. Let me know how authentication works for ingress in GKE.

annotations:
kubernetes.io/ingress.class: gce
ingress.kubernetes.io/auth-type: basic
ingress.kubernetes.io/auth-secret: secret
ingress.kubernetes.io/auth-realm: "Authentication Required"

@samcgardner
Copy link

I don't believe ingress-gce supports that annotation. If you want authentication for your GKE ingress, I'd recommend looking at https://cloud.google.com/iap/docs/enabling-kubernetes-howto

@naidu571
Copy link
Author

naidu571 commented Nov 2, 2019

I don't believe ingress-gce supports that annotation. If you want authentication for your GKE ingress, I'd recommend looking at https://cloud.google.com/iap/docs/enabling-kubernetes-howto

Thanks for the reply. I am good with this details.

@naidu571 naidu571 closed this as completed Nov 2, 2019
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

2 participants