File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed
staging/src/k8s.io/kubelet/config Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ type CredentialProviderConfig struct {
604
604
// Multiple providers may match against a single image, in which case credentials
605
605
// from all providers will be returned to the kubelet. If multiple providers are called
606
606
// for a single image, the results are combined. If providers return overlapping
607
- // auth keys, the value from the provider earlier in this list is used .
607
+ // auth keys, the value from the provider earlier in this list is attempted first .
608
608
Providers []CredentialProvider
609
609
}
610
610
@@ -614,6 +614,7 @@ type CredentialProvider struct {
614
614
// name is the required name of the credential provider. It must match the name of the
615
615
// provider executable as seen by the kubelet. The executable must be in the kubelet's
616
616
// bin directory (set by the --credential-provider-bin-dir flag).
617
+ // Required to be unique across all providers.
617
618
Name string
618
619
619
620
// matchImages is a required list of strings used to match against images in order to
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ type CredentialProviderConfig struct {
32
32
// Multiple providers may match against a single image, in which case credentials
33
33
// from all providers will be returned to the kubelet. If multiple providers are called
34
34
// for a single image, the results are combined. If providers return overlapping
35
- // auth keys, the value from the provider earlier in this list is used .
35
+ // auth keys, the value from the provider earlier in this list is attempted first .
36
36
Providers []CredentialProvider `json:"providers"`
37
37
}
38
38
@@ -42,6 +42,7 @@ type CredentialProvider struct {
42
42
// name is the required name of the credential provider. It must match the name of the
43
43
// provider executable as seen by the kubelet. The executable must be in the kubelet's
44
44
// bin directory (set by the --image-credential-provider-bin-dir flag).
45
+ // Required to be unique across all providers.
45
46
Name string `json:"name"`
46
47
47
48
// matchImages is a required list of strings used to match against images in order to
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ type CredentialProviderConfig struct {
32
32
// Multiple providers may match against a single image, in which case credentials
33
33
// from all providers will be returned to the kubelet. If multiple providers are called
34
34
// for a single image, the results are combined. If providers return overlapping
35
- // auth keys, the value from the provider earlier in this list is used .
35
+ // auth keys, the value from the provider earlier in this list is attempted first .
36
36
Providers []CredentialProvider `json:"providers"`
37
37
}
38
38
@@ -42,6 +42,7 @@ type CredentialProvider struct {
42
42
// name is the required name of the credential provider. It must match the name of the
43
43
// provider executable as seen by the kubelet. The executable must be in the kubelet's
44
44
// bin directory (set by the --image-credential-provider-bin-dir flag).
45
+ // Required to be unique across all providers.
45
46
Name string `json:"name"`
46
47
47
48
// matchImages is a required list of strings used to match against images in order to
Original file line number Diff line number Diff line change @@ -1004,7 +1004,7 @@ type CredentialProviderConfig struct {
1004
1004
// Multiple providers may match against a single image, in which case credentials
1005
1005
// from all providers will be returned to the kubelet. If multiple providers are called
1006
1006
// for a single image, the results are combined. If providers return overlapping
1007
- // auth keys, the value from the provider earlier in this list is used .
1007
+ // auth keys, the value from the provider earlier in this list is attempted first .
1008
1008
Providers []CredentialProvider `json:"providers"`
1009
1009
}
1010
1010
@@ -1014,6 +1014,7 @@ type CredentialProvider struct {
1014
1014
// name is the required name of the credential provider. It must match the name of the
1015
1015
// provider executable as seen by the kubelet. The executable must be in the kubelet's
1016
1016
// bin directory (set by the --image-credential-provider-bin-dir flag).
1017
+ // Required to be unique across all providers.
1017
1018
Name string `json:"name"`
1018
1019
1019
1020
// matchImages is a required list of strings used to match against images in order to
You can’t perform that action at this time.
0 commit comments