<p>I want to allow only my team to access(https) our staging environments(Web application) through ingress in GKE cluster.</p>

<p>I found the article below. but GKE doesn't support basic authentication and setting nginx is only way . </p>

<p><a href="https://stackoverflow.com/questions/39862340/gke-ingress-basic-authentication-ingress-kubernetes-io-auth-type">GKE Ingress Basic Authentication (ingress.kubernetes.io/auth-type)</a></p>

<p>I want to avoid setting nginx if possible. 
Because I want to make staging and production as close as possible.</p>

<p>Thanks.</p>

<p>We're having very similar problems, however our services themselves require authentication, so public accessibility is not too much of a concern for us.</p>

<p>It might not apply to your scenario, but you can firewall the ingress' external IP to be accessible only from certain IPs, e.g. the one of your office. It's a quite naive but at least very quick solution. Google's <a href="https://cloud.google.com/compute/docs/cloudrouter" rel="nofollow noreferrer">Cloud Router</a> might also be worth a shot otherwise.</p>
