Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 287 for configMaps (0.23 sec)

  1. pkg/volume/testing/volume_host.go

    func (f *fakeVolumeHost) GetExec(pluginName string) exec.Interface {
    	return f.exec
    }
    
    func (f *fakeVolumeHost) GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error) {
    	return func(namespace, name string) (*v1.ConfigMap, error) {
    		return f.kubeClient.CoreV1().ConfigMaps(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/deployment/builder.go

    	}
    
    	out := map[string]sets.String{}
    	for _, c := range b.ctx.Clusters() {
    		out[c.Name()] = sets.New[string]()
    		// TODO find a place to read revision(s) and avoid listing
    		cms, err := c.Kube().CoreV1().ConfigMaps(ns).List(context.TODO(), metav1.ListOptions{})
    		if err != nil {
    			return nil, err
    		}
    
    		// take the intersection of the templates available from each revision in this cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		case envFrom.ConfigMapRef != nil:
    			cm := envFrom.ConfigMapRef
    			name := cm.Name
    			configMap, ok := configMaps[name]
    			if !ok {
    				if kl.kubeClient == nil {
    					return result, fmt.Errorf("couldn't get configMap %v/%v, no kubeClient defined", pod.Namespace, name)
    				}
    				optional := cm.Optional != nil && *cm.Optional
    				configMap, err = kl.configMapManager.GetConfigMap(pod.Namespace, name)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// After that, the information in the fields IS NOT uploaded to the `kubeadm-config` ConfigMap
    	// that is used by `kubeadm upgrade` for instance. These fields must be omitempty.
    
    	// BootstrapTokens is respected at `kubeadm init` time and describes a set of Bootstrap Tokens to create.
    	// This information IS NOT uploaded to the kubeadm cluster configmap, partly because of its sensitive nature
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. pkg/config/schema/collections/collections.gen.go

    		Builtin:       true,
    		ValidateProto: validation.EmptyValidate,
    	}.MustBuild()
    
    	ConfigMap = resource.Builder{
    		Identifier:    "ConfigMap",
    		Group:         "",
    		Kind:          "ConfigMap",
    		Plural:        "configmaps",
    		Version:       "v1",
    		Proto:         "k8s.io.api.core.v1.ConfigMap",
    		ReflectType:   reflect.TypeOf(&k8sioapicorev1.ConfigMap{}).Elem(),
    		ProtoPackage:  "k8s.io/api/core/v1",
    		ClusterScoped: false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go

    					VolumeSource: v1.VolumeSource{
    						ConfigMap: &v1.ConfigMapVolumeSource{},
    					},
    				},
    				{
    					VolumeSource: v1.VolumeSource{
    						Secret: &v1.SecretVolumeSource{},
    					},
    				},
    			},
    		},
    	}
    	pvcPodWithConfigmapAndSecret := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					VolumeSource: v1.VolumeSource{
    						ConfigMap: &v1.ConfigMapVolumeSource{},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 18:07:11 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/deployment.go

    		cm := &corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: cmName}, BinaryData: cmData}
    		_, err = cfg.Cluster.Kube().CoreV1().ConfigMaps(cfg.Namespace.Name()).Create(context.TODO(), cm, metav1.CreateOptions{})
    		if err != nil && !kerrors.IsAlreadyExists(err) {
    			return fmt.Errorf("failed creating configmap %s: %v", cm.Name, err)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure-helper.sh

      - level: None
        # Ingress controller reads 'configmaps/ingress-uid' through the unsecured port.
        # TODO(#46983): Change this to the ingress controller service account.
        users: ["system:unsecured"]
        namespaces: ["kube-system"]
        verbs: ["get"]
        resources:
          - group: "" # core
            resources: ["configmaps"]
      - level: None
        users: ["kubelet"] # legacy kubelet identity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  9. pkg/apis/core/types.go

    }
    
    // ConfigMapEnvSource selects a ConfigMap to populate the environment
    // variables with.
    //
    // The contents of the target ConfigMap's Data field will represent the
    // key-value pairs as environment variables.
    type ConfigMapEnvSource struct {
    	// The ConfigMap to select from.
    	LocalObjectReference
    	// Specify whether the ConfigMap must be defined
    	// +optional
    	Optional *bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  10. pkg/volume/configmap/configmap.go

    			},
    		}
    	}
    
    	totalBytes := totalBytes(configMap)
    	klog.V(3).Infof("Received configMap %v/%v containing (%v) pieces of data, %v total bytes",
    		b.pod.Namespace,
    		b.source.Name,
    		len(configMap.Data)+len(configMap.BinaryData),
    		totalBytes)
    
    	payload, err := MakePayload(b.source.Items, configMap, b.source.DefaultMode, optional)
    	if err != nil {
    		return err
    	}
    
    	setupSuccess := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top