Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

GKE: Restrict Oauth authentication by domain suffix #177

Merged
merged 1 commit into from
Oct 26, 2018

Commits on Oct 25, 2018

  1. Restrict Oauth authentication by domain suffix

    With Google-based Oauth, we need to additionally restrict the user in
    some way - we don't want to allow just _any_ Google account to access
    the prometheus/kibana consoles.
    
    This change adds a flag to specify an email domain, and oauth2 proxy
    will only allow users from this domain.  This flag is marked as
    *required* on GKE.
    
    NB: This effectively restricts kubeprod to only supporting GSuite
    accounts (@gmail.com is not useful), which is conceptually similar to
    the AKS setup which allows only members from a particular Azure
    tenant.  Allowing a whitelist of specific (non-GSuite) Gmail accounts
    instead is probably desirable, but postponed for a future change.
    anguslees committed Oct 25, 2018
    Configuration menu
    Copy the full SHA
    6bee76e View commit details
    Browse the repository at this point in the history