diff --git a/cluster/gce/config-test.sh b/cluster/gce/config-test.sh index d2f0a9f10ed..239b5750fbc 100755 --- a/cluster/gce/config-test.sh +++ b/cluster/gce/config-test.sh @@ -600,3 +600,11 @@ export TLS_CIPHER_SUITES="" # CLOUD_PROVIDER_FLAG defines the cloud-provider value presented to KCM, apiserver, # and kubelet export CLOUD_PROVIDER_FLAG="${CLOUD_PROVIDER_FLAG:-gce}" + +# When ENABLE_AUTH_PROVIDER_GCP is set, following flags for out-of-tree credential provider for GCP +# are presented to kubelet: +# --image-credential-provider-config=${path-to-config} +# --image-credential-provider-bin-dir=${path-to-auth-provider-binary} +# Also, it is required that DisableKubeletCloudCredentialProviders and KubeletCredentialProviders +# feature gates are set to true for kubelet to use external credential provider. +ENABLE_AUTH_PROVIDER_GCP="${ENABLE_AUTH_PROVIDER_GCP:-true}"