Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for configVals (0.19 sec)

  1. internal/config/config.go

    	nc := c.Clone()
    
    	for configName, configVals := range nc {
    		for _, helpKV := range HelpSubSysMap[configName] {
    			if helpKV.Sensitive {
    				for name, kvs := range configVals {
    					for i := range kvs {
    						if kvs[i].Key == helpKV.Key && len(kvs[i].Value) > 0 {
    							kvs[i].Value = "*redacted*"
    						}
    					}
    					configVals[name] = kvs
    				}
    			}
    		}
    	}
    
    	return nc
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "selected", expectedData)
    	expectConfigMapNotExist(t, nc.configmaps, "not-selected")
    
    	meshWatcher.Update(&meshconfig.MeshConfig{
    		DiscoverySelectors: []*meshconfig.LabelSelector{{
    			MatchLabels: map[string]string{"kubernetes.io/metadata.name": "not-selected"},
    		}},
    	}, time.Second)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/kube/krt/informer_test.go

    )
    
    func TestNewInformer(t *testing.T) {
    	c := kube.NewFakeClient()
    	ConfigMaps := krt.NewInformer[*corev1.ConfigMap](c)
    	c.RunAndWait(test.NewStop(t))
    	cmt := clienttest.NewWriter[*corev1.ConfigMap](t, c)
    	tt := assert.NewTracker[string](t)
    	ConfigMaps.Register(TrackerHandler[*corev1.ConfigMap](tt))
    
    	assert.Equal(t, ConfigMaps.List(), nil)
    
    	cmA := &corev1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. pkg/kubelet/configmap/configmap_manager.go

    	// WARNING: Register/UnregisterPod functions should be efficient,
    	// i.e. should not block on network operations.
    
    	// RegisterPod registers all configmaps from a given pod.
    	RegisterPod(pod *v1.Pod)
    
    	// UnregisterPod unregisters configmaps from a given pod that are not
    	// used by any other registered pod.
    	UnregisterPod(pod *v1.Pod)
    }
    
    // simpleConfigMapManager implements ConfigMap Manager interface with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/controller/bootstrap/bootstrapsigner.go

    		configMapLister:    configMaps.Lister(),
    		configMapSynced:    configMaps.Informer().HasSynced,
    		syncQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "bootstrap_signer_queue",
    			},
    		),
    	}
    
    	configMaps.Informer().AddEventHandlerWithResyncPeriod(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/legacytokentracking/controller.go

    	klog.Info("Starting legacy_token_tracking_controller")
    	defer klog.Infof("Shutting down legacy_token_tracking_controller")
    
    	go c.configMapInformer.Run(stopCh)
    	if !cache.WaitForNamedCacheSync("configmaps", stopCh, c.configMapSynced) {
    		return
    	}
    
    	go wait.Until(c.runWorker, time.Second, stopCh)
    
    	c.queue.Add(queueKey)
    
    	<-stopCh
    	klog.Info("Ending legacy_token_tracking_controller")
    }
    
    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/controller/certificates/rootcacertpublisher/publisher.go

    		klog.FromContext(ctx).V(4).Info("Finished syncing namespace", "namespace", ns, "elapsedTime", time.Since(startTime))
    	}()
    
    	cm, err := c.cmLister.ConfigMaps(ns).Get(RootCACertConfigMapName)
    	switch {
    	case apierrors.IsNotFound(err):
    		_, err = c.client.CoreV1().ConfigMaps(ns).Create(ctx, &v1.ConfigMap{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:        RootCACertConfigMapName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/cleanup.go

    	scopes.Framework.Infof("clean up cluster %s", c.Name())
    	errG.Go(func() (err error) {
    		if e := i.installer.Close(c); e != nil {
    			err = multierror.Append(err, e)
    		}
    
    		// Cleanup all secrets and configmaps - these are dynamically created by tests and/or istiod so they are not captured above
    		// This includes things like leader election locks (allowing next test to start without 30s delay),
    		// custom cacerts, custom kubeconfigs, etc.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    										Duration: 3 * time.Second,
    									},
    									Endpoint: "unix:///tmp/testprovider.sock",
    								},
    							},
    						},
    					},
    					{
    						Resources: []string{"configmaps"},
    						Providers: []apiserver.ProviderConfiguration{
    							{
    								KMS: &apiserver.KMSConfiguration{
    									Name:       "kms",
    									APIVersion: "v1",
    									Timeout: &metav1.Duration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  10. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	return err
    }
    
    func writeConfigMap(configMapClient corev1client.ConfigMapsGetter, required *corev1.ConfigMap) error {
    	_, err := configMapClient.ConfigMaps(required.Namespace).Update(context.TODO(), required, metav1.UpdateOptions{})
    	if apierrors.IsNotFound(err) {
    		_, err := configMapClient.ConfigMaps(required.Namespace).Create(context.TODO(), required, metav1.CreateOptions{})
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top