Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for configmaps (0.27 sec)

  1. pkg/kube/watcher/configmapwatcher/configmapwatcher.go

    )
    
    // Controller watches a ConfigMap and calls the given callback when the ConfigMap changes.
    // The ConfigMap is passed to the callback, or nil if it doesn't exist.
    type Controller struct {
    	configmaps kclient.Client[*v1.ConfigMap]
    	queue      controllers.Queue
    
    	configMapNamespace string
    	configMapName      string
    	callback           func(*v1.ConfigMap)
    
    	hasSynced atomic.Bool
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 19 07:11:52 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/controller/bootstrap/bootstrapsigner_test.go

    	secrets := informers.Core().V1().Secrets()
    	configMaps := informers.Core().V1().ConfigMaps()
    	bsc, err := NewSigner(cl, secrets, configMaps, options)
    	if err != nil {
    		return nil, nil, nil, nil, err
    	}
    	return bsc, cl, secrets, configMaps, nil
    }
    
    func newConfigMap(tokenID, signature string) *v1.ConfigMap {
    	ret := &v1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Namespace:       metav1.NamespacePublic,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    }
    
    func expectConfigMapNotExist(t *testing.T, configmaps kclient.Client[*v1.ConfigMap], ns string) {
    	t.Helper()
    	err := retry.Until(func() bool {
    		cm := configmaps.Get(CACertNamespaceConfigMap, ns)
    		return cm != nil
    	}, retry.Timeout(time.Millisecond*25))
    
    	if err == nil {
    		t.Fatalf("%s namespace should not have istio-ca-root-cert configmap.", ns)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/kube/krt/informer_test.go

    	assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA2})
    
    	cmt.Create(cmB)
    	tt.WaitOrdered("add/ns/b")
    	assert.Equal(t, slices.SortBy(ConfigMaps.List(), func(a *corev1.ConfigMap) string { return a.Name }), []*corev1.ConfigMap{cmA2, cmB})
    
    	assert.Equal(t, ConfigMaps.GetKey("ns/b"), &cmB)
    	assert.Equal(t, ConfigMaps.GetKey("ns/a"), &cmA2)
    
    	tt2 := assert.NewTracker[string](t)
    	ConfigMaps.Register(TrackerHandler[*corev1.ConfigMap](tt2))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. pkg/kubelet/configmap/configmap_manager.go

    // (e.g. ttl-based implementation vs watch-based implementation).
    type configMapManager struct {
    	manager manager.Manager
    }
    
    func (c *configMapManager) GetConfigMap(namespace, name string) (*v1.ConfigMap, error) {
    	object, err := c.manager.GetObject(namespace, name)
    	if err != nil {
    		return nil, err
    	}
    	if configmap, ok := object.(*v1.ConfigMap); ok {
    		return configmap, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go

    var configMapLabel = map[string]string{"istio.io/config": "true"}
    
    // NamespaceController manages reconciles a configmap in each namespace with a desired set of data.
    type NamespaceController struct {
    	caBundleWatcher *keycertbundle.Watcher
    
    	queue controllers.Queue
    
    	namespaces kclient.Client[*v1.Namespace]
    	configmaps kclient.Client[*v1.ConfigMap]
    
    	ignoredNamespaces sets.Set[string]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. cluster/addons/cloud-controller-manager/cloud-node-controller-role.yaml

    - apiGroups:
      - ""
      resources:
      - namespaces
      - configmaps
      verbs:
      - get
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: Role
    metadata:
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
      name: system:cloud-controller-manager
      namespace: kube-system
    rules:
    - apiGroups:
      - ""
      resources:
      - configmaps
      verbs:
      - watch
    - apiGroups:
      - ""
      resources:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 08 14:40:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/legacytokentracking/controller_test.go

    				core.NewCreateAction(schema.GroupVersionResource{Version: "v1", Resource: "configmaps"}, metav1.NamespaceSystem, &corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: ConfigMapName},...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 19 17:33:34 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. releasenotes/notes/41621.yaml

        reported the following error on shutdown: failed to properly clean up distribution report: configmaps 
        "istiod-xxx-yyy-distribution" is forbidden: User "system:serviceaccount:istio-system:istiod" cannot 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 25 16:27:18 UTC 2022
    - 457 bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/meshconfig.go

    func MeshConfigCollection(ConfigMaps krt.Collection[*v1.ConfigMap], options Options) krt.Singleton[MeshConfig] {
    	cmName := "istio"
    	if options.Revision != "" && options.Revision != "default" {
    		cmName = cmName + "-" + options.Revision
    	}
    	return krt.NewSingleton[MeshConfig](
    		func(ctx krt.HandlerContext) *MeshConfig {
    			meshCfg := mesh.DefaultMeshConfig()
    			cms := []*v1.ConfigMap{}
    			if features.SharedMeshConfig != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top