Skip to content

Commit

Permalink
Merge pull request #331 from pivotal/vdemeester-azure-fix
Browse files Browse the repository at this point in the history
Update acr fix to use new gggcr.k8schain import paths
  • Loading branch information
matthewmcnew authored Mar 19, 2020
2 parents 37090bb + 262866b commit 8ce207a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package setup

import (
_ "github.com/vdemeester/k8s-pkg-credentialprovider/azure"

"os"

"github.com/spf13/pflag"
)

func init() {
//allow azure credential helper to be proccess its config before k8schain loads
//https://github.com/google/go-containerregistry/pull/652
pflag.Set("azure-container-registry-config", os.Getenv("AZURE_CONTAINER_REGISTRY_CONFIG"))
}

0 comments on commit 8ce207a

Please sign in to comment.