Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ConfigMapName (0.53 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. 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.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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/phases/kubelet/config.go

    func CreateConfigMap(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) error {
    	configMapName := kubeadmconstants.KubeletBaseConfigurationConfigMap
    	fmt.Printf("[kubelet] Creating a ConfigMap %q in namespace %s with the configuration for the kubelets in the cluster\n", configMapName, metav1.NamespaceSystem)
    
    	kubeletCfg, ok := cfg.ComponentConfigs[componentconfigs.KubeletGroup]
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top