Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for meshConfigMapData (0.15 sec)

  1. pkg/config/mesh/kubemesh/watcher.go

    		meshConfig := meshConfigMapData(cm, key)
    		watcher.HandleUserMeshConfig(meshConfig)
    	})
    
    	go c.Run(stop)
    	if !client.WaitForCacheSync("user mesh config", stop, c.HasSynced) {
    		log.Error("failed to wait for cache sync")
    	}
    }
    
    func meshConfigMapData(cm *v1.ConfigMap, key string) string {
    	if cm == nil {
    		return ""
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/meshconfig.go

    			for _, c := range cms {
    				n, err := mesh.ApplyMeshConfig(meshConfigMapData(c), meshCfg)
    				if err != nil {
    					log.Error(err)
    					continue
    				}
    				meshCfg = n
    			}
    			return &MeshConfig{meshCfg}
    		}, krt.WithName("MeshConfig"),
    	)
    }
    
    func meshConfigMapData(cm *v1.ConfigMap) string {
    	if cm == nil {
    		return ""
    	}
    
    	cfgYaml, exists := cm.Data["mesh"]
    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