Skip to content

Commit

Permalink
Updates GCR CredentialProviderConfig
Browse files Browse the repository at this point in the history
This change updates the GCR CredentialProviderConfig to pass the
'get-credentials' argument.

It also adds a matcher for "*.pkg.dev"
  • Loading branch information
theobarberbany committed Mar 18, 2024
1 parent f96548d commit 55cee2c
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ contents:
kind: CredentialProviderConfig
providers:
- name: gcr-credential-provider
apiVersion: credentialprovider.kubelet.k8s.io/v1
matchImages:
- "gcr.io"
- "*.gcr.io"
- "*.pkg.dev"
- "container.cloud.google.com"
defaultCacheDuration: "0s"
apiVersion: credentialprovider.kubelet.k8s.io/v1
defaultCacheDuration: "1m"
args:
- get-credentials
- --v=3

0 comments on commit 55cee2c

Please sign in to comment.