Merge pull request #69354 from yujuhong/rm-jwt

GCP: Remove the deprecated google-json-key support
This commit is contained in:
k8s-ci-robot
2018-10-12 17:16:46 -07:00
committed by GitHub
6 changed files with 1 additions and 261 deletions

View File

@@ -84,9 +84,6 @@ func addCredentialProviderFlags(fs *pflag.FlagSet) {
global := pflag.CommandLine
local := pflag.NewFlagSet(os.Args[0], pflag.ExitOnError)
// Note this is deprecated in the library that provides it, so we just allow that deprecation
// notice to pass through our registration here.
pflagRegister(global, local, "google-json-key")
// TODO(#58034): This is not a static file, so it's not quite as straightforward as --google-json-key.
// We need to figure out how ACR users can dynamically provide pull credentials before we can deprecate this.
pflagRegister(global, local, "azure-container-registry-config")