Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for configmapName (0.2 sec)

  1. security/pkg/k8s/configutil_test.go

    			existingConfigMap: createConfigMap(namespaceName, configMapName, map[string]string{}),
    			expectedActions: []ktesting.Action{
    				ktesting.NewUpdateAction(gvr, namespaceName, createConfigMap(namespaceName, configMapName, testData)),
    			},
    			expectedErr: "",
    		},
    		{
    			name:              "existing nop ConfigMap",
    			existingConfigMap: createConfigMap(namespaceName, configMapName, testData),
    			expectedActions:   []ktesting.Action{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/componentconfigs/kubeproxy.go

    	configMapName := kubeadmconstants.KubeProxyConfigMap
    	klog.V(1).Infof("attempting to download the KubeProxyConfiguration from ConfigMap %q", configMapName)
    	cm, err := h.fromConfigMap(clientset, configMapName, kubeadmconstants.KubeProxyConfigMapKey, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 03:01:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    	if label == "" {
    		return &v1.ConfigMap{
    			ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: legacytokentracking.ConfigMapName},
    		}
    	}
    	return &v1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: legacytokentracking.ConfigMapName},
    		Data:       map[string]string{legacytokentracking.ConfigMapDataKey: label},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. pkg/controller/bootstrap/bootstrapsigner.go

    	e := &Signer{
    		client:             cl,
    		configMapKey:       options.ConfigMapNamespace + "/" + options.ConfigMapName,
    		configMapName:      options.ConfigMapName,
    		configMapNamespace: options.ConfigMapNamespace,
    		secretNamespace:    options.TokenSecretNamespace,
    		secretLister:       secrets.Lister(),
    		secretSynced:       secrets.Informer().HasSynced,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go

    	return newCM
    }
    
    func resetCalled() {
    	called = false
    	newCM = nil
    }
    
    func Test_ConfigMapWatcher(t *testing.T) {
    	client := kube.NewFakeClient()
    	cm := makeConfigMap(configMapName, "1")
    	cm1 := makeConfigMap(configMapName, "2")
    	cm2 := makeConfigMap("not-watched", "1")
    	steps := []struct {
    		added        *v1.ConfigMap
    		updated      *v1.ConfigMap
    		deleted      *v1.ConfigMap
    		expectCalled bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/legacytokentracking/controller.go

    	"k8s.io/client-go/util/workqueue"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/clock"
    )
    
    const (
    	ConfigMapName    = "kube-apiserver-legacy-service-account-token-tracking"
    	ConfigMapDataKey = "since"
    	dateFormat       = "2006-01-02"
    )
    
    var (
    	queueKey = metav1.NamespaceSystem + "/" + ConfigMapName
    )
    
    // Controller maintains a timestamp value configmap `kube-apiserver-legacy-service-account-token-tracking`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    			if cast, ok := obj.(*corev1.ConfigMap); ok {
    				return cast.Namespace == configMapNamespace && cast.Name == configMapName
    			}
    			if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok {
    				if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok {
    					return cast.Namespace == configMapNamespace && cast.Name == configMapName
    				}
    			}
    			return true // always return true just in case.  The checks are fairly cheap
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/configmap.go

    	ic.mu.Lock()
    	myic := ic.injectConfig
    	ic.mu.Unlock()
    
    	if myic == nil {
    		c := ic.ctx.AllClusters().Configs()[0]
    
    		cfgMap, err := ic.getConfigMap(c, ic.configMapName())
    		if err != nil {
    			return nil, err
    		}
    
    		// Get the MeshConfig yaml from the config map.
    		icYAML, err := getInjectConfigYaml(cfgMap, "config")
    		if err != nil {
    			return nil, err
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go

    		FilterFunc: func(obj interface{}) bool {
    			if cast, ok := obj.(*corev1.ConfigMap); ok {
    				return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace
    			}
    			if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok {
    				if cast, ok := tombstone.Obj.(*corev1.ConfigMap); ok {
    					return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    		listOptions.FieldSelector = fields.OneTermEqualSelector("metadata.name", c.configmapName).String()
    	})
    
    	c.configmapInformer.AddEventHandler(cache.FilteringResourceEventHandler{
    		FilterFunc: func(obj interface{}) bool {
    			if cast, ok := obj.(*corev1.ConfigMap); ok {
    				return cast.Name == c.configmapName && cast.Namespace == c.configmapNamespace
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top