Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for matchImages (0.14 sec)

  1. pkg/credentialprovider/plugin/config_test.go

    			configData: `---
    kind: CredentialProviderConfig
    apiVersion: kubelet.config.k8s.io/v1alpha1
    providers:
      - name: test1
        matchImages:
        - "registry.io/one"
        defaultCacheDuration: 10m
        apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
      - name: test2
        matchImages:
        - "registry.io/two"
        defaultCacheDuration: 10m
        apiVersion: credentialprovider.kubelet.k8s.io/v1alpha1
        args:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 14:24:11 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. pkg/credentialprovider/plugin/config.go

    		}
    
    		if len(provider.MatchImages) == 0 {
    			allErrs = append(allErrs, field.Required(fieldPath.Child("matchImages"), "at least 1 item in matchImages is required"))
    		}
    
    		for _, matchImage := range provider.MatchImages {
    			if _, err := credentialprovider.ParseSchemelessURL(matchImage); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/v1alpha1/zz_generated.conversion.go

    }
    
    func autoConvert_v1alpha1_CredentialProvider_To_config_CredentialProvider(in *v1alpha1.CredentialProvider, out *config.CredentialProvider, s conversion.Scope) error {
    	out.Name = in.Name
    	out.MatchImages = *(*[]string)(unsafe.Pointer(&in.MatchImages))
    	out.DefaultCacheDuration = (*v1.Duration)(unsafe.Pointer(in.DefaultCacheDuration))
    	out.APIVersion = in.APIVersion
    	out.Args = *(*[]string)(unsafe.Pointer(&in.Args))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 7.2K bytes
    - Viewed (0)
  4. pkg/credentialprovider/plugin/plugin_test.go

    		dockerconfig   credentialprovider.DockerConfig
    	}{
    		{
    			name: "exact image match, with Registry cache key",
    			pluginProvider: &pluginProvider{
    				clock:          tclock,
    				lastCachePurge: tclock.Now(),
    				matchImages:    []string{"test.registry.io"},
    				cache:          cache.NewExpirationStore(cacheKeyFunc, &cacheExpirationPolicy{clock: tclock}),
    				plugin: &fakeExecPlugin{
    					cacheKeyType: credentialproviderapi.RegistryPluginCacheKeyType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1/zz_generated.conversion.go

    	return nil
    }
    
    func autoConvert_v1_CredentialProvider_To_config_CredentialProvider(in *v1.CredentialProvider, out *config.CredentialProvider, s conversion.Scope) error {
    	out.Name = in.Name
    	out.MatchImages = *(*[]string)(unsafe.Pointer(&in.MatchImages))
    	out.DefaultCacheDuration = (*metav1.Duration)(unsafe.Pointer(in.DefaultCacheDuration))
    	out.APIVersion = in.APIVersion
    	out.Args = *(*[]string)(unsafe.Pointer(&in.Args))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  6. pkg/credentialprovider/plugin/plugin.go

    }
    
    // isImageAllowed returns true if the image matches against the list of allowed matches by the plugin.
    func (p *pluginProvider) isImageAllowed(image string) bool {
    	for _, matchImage := range p.matchImages {
    		if matched, _ := credentialprovider.URLsMatchStr(matchImage, image); matched {
    			return true
    		}
    	}
    
    	return false
    }
    
    // getCachedCredentials returns a credentialprovider.DockerConfig if cached from the plugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 05:07:28 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *CredentialProvider) DeepCopyInto(out *CredentialProvider) {
    	*out = *in
    	if in.MatchImages != nil {
    		in, out := &in.MatchImages, &out.MatchImages
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.DefaultCacheDuration != nil {
    		in, out := &in.DefaultCacheDuration, &out.DefaultCacheDuration
    		*out = new(v1.Duration)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 09 11:19:11 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/types.go

    type CredentialProvider struct {
    	// name is the required name of the credential provider. It must match the name of the
    	// provider executable as seen by the kubelet. The executable must be in the kubelet's
    	// bin directory (set by the --credential-provider-bin-dir flag).
    	Name string
    
    	// matchImages is a required list of strings used to match against images in order to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_CredentialProvider_To_config_CredentialProvider(in *v1beta1.CredentialProvider, out *config.CredentialProvider, s conversion.Scope) error {
    	out.Name = in.Name
    	out.MatchImages = *(*[]string)(unsafe.Pointer(&in.MatchImages))
    	out.DefaultCacheDuration = (*v1.Duration)(unsafe.Pointer(in.DefaultCacheDuration))
    	out.APIVersion = in.APIVersion
    	out.Args = *(*[]string)(unsafe.Pointer(&in.Args))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  10. api/api-rules/violation_exceptions.list

    API rule violation: list_type_missing,k8s.io/kubelet/config/v1,CredentialProvider,Env
    API rule violation: list_type_missing,k8s.io/kubelet/config/v1,CredentialProvider,MatchImages
    API rule violation: list_type_missing,k8s.io/kubelet/config/v1,CredentialProviderConfig,Providers
    API rule violation: list_type_missing,k8s.io/kubelet/config/v1alpha1,CredentialProvider,Args
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top