diff --git a/frontend/server/configs.ts b/frontend/server/configs.ts index 4188338498f..b4ce780b7c2 100644 --- a/frontend/server/configs.ts +++ b/frontend/server/configs.ts @@ -101,7 +101,7 @@ export function loadConfigs(argv: string[], env: ProcessEnv): UIConfigs { /** The main container name of a pod where logs are retrieved */ POD_LOG_CONTAINER_NAME = 'main', /** Disables GKE metadata endpoint. */ - DISABLE_GKE_METADATA = 'false', + DISABLE_GKE_METADATA = 'true', /** Enable authorization checks for multi user mode. */ ENABLE_AUTHZ = 'false', /** Deployment type. */ diff --git a/manifests/kustomize/env/gcp/gcp-configurations-patch.yaml b/manifests/kustomize/env/gcp/gcp-configurations-patch.yaml index 5e725b536d2..79af1321cab 100644 --- a/manifests/kustomize/env/gcp/gcp-configurations-patch.yaml +++ b/manifests/kustomize/env/gcp/gcp-configurations-patch.yaml @@ -20,3 +20,16 @@ spec: configMapKeyRef: name: pipeline-install-config key: gcsProjectId +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ml-pipeline-ui +spec: + template: + spec: + containers: + - name: ml-pipeline-ui + env: + - name: DISABLE_GKE_METADATA + value: 'false'