Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for configmapName (0.29 sec)

  1. 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)
  2. 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)
  3. pkg/controlplane/controller/legacytokentracking/controller_test.go

    			},
    		},
    		{
    			name: "create configmap should ignore AlreadyExists error [no cache, live object exists]",
    			clientObjects: []runtime.Object{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 19 17:33:34 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. pkg/kube/watcher/configmapwatcher/configmapwatcher.go

    	configMapNamespace string
    	configMapName      string
    	callback           func(*v1.ConfigMap)
    
    	hasSynced atomic.Bool
    }
    
    // NewController returns a new ConfigMap watcher controller.
    func NewController(client kube.Client, namespace, name string, callback func(*v1.ConfigMap)) *Controller {
    	c := &Controller{
    		configMapNamespace: namespace,
    		configMapName:      name,
    		callback:           callback,
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 07:11:52 UTC 2023
    - 2.8K 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. 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)
  8. tests/integration/security/util/cert/cert.go

    		configMapName := "istio-ca-root-cert"
    		err = cluster.Kube().CoreV1().ConfigMaps(systemNs.Name()).Delete(context.TODO(), configMapName,
    			metav1.DeleteOptions{})
    		if err == nil {
    			log.Infof("configmap %v is deleted", configMapName)
    		} else {
    			log.Infof("configmap %v may not exist and the deletion returns err (%v)",
    				configMapName, err)
    		}
    	}
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 16:44:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet.go

    	configMapName := constants.KubeletBaseConfigurationConfigMap
    	klog.V(1).Infof("attempting to download the KubeletConfiguration from ConfigMap %q", configMapName)
    	cm, err := h.fromConfigMap(clientset, configMapName, constants.KubeletBaseConfigurationConfigMapKey, true)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/sidecarinjector.go

    		watcher, err = inject.NewFileWatcher(configFile, valuesFile)
    		if err != nil {
    			return nil, err
    		}
    	} else if s.kubeClient != nil {
    		configMapName := getInjectorConfigMapName(args.Revision)
    		cms := s.kubeClient.Kube().CoreV1().ConfigMaps(args.Namespace)
    		if _, err := cms.Get(context.TODO(), configMapName, metav1.GetOptions{}); err != nil {
    			if errors.IsNotFound(err) {
    				log.Infof("Skipping sidecar injector, template not found")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 20:39:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top