Make GKE the default in alpha and qa (#2624)

This commit is contained in:
Lai Jiang
2024-12-17 17:40:03 +00:00
committed by GitHub
parent f649d960c1
commit da8df1f4d9
7 changed files with 66 additions and 14 deletions
@@ -41,7 +41,6 @@ public class ProxyConfig {
public String projectId;
public String oauthClientId;
public boolean canary;
public List<String> gcpScopes;
public int serverCertificateCacheSeconds;
public Gcs gcs;
@@ -281,8 +281,8 @@ public class ProxyModule {
@Singleton
@Provides
@Named("canary")
static boolean provideIsCanary(ProxyConfig config) {
return config.canary;
boolean provideIsCanary(Environment env) {
return env.name().endsWith("_CANARY");
}
@Singleton
@@ -8,9 +8,6 @@
# GCP project ID
projectId: your-gcp-project-id
# Whether to connect to the canary (instead of regular) service.
canary: false
# OAuth client ID set as the audience of the OIDC token. This value must be the
# same as the auth.oauthClientId value in Nomulus config file, which usually is
# the IAP client ID, to allow the request to access IAP protected endpoints.