Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 237 for configMaps (0.14 sec)

  1. pkg/config/schema/metadata.yaml

        version: "v1"
        builtin: true
        proto: "k8s.io.api.core.v1.ServiceSpec"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "ConfigMap"
        plural: "configmaps"
        version: "v1"
        builtin: true
        specless: true
        proto: "k8s.io.api.core.v1.ConfigMap"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "ServiceAccount"
        plural: "serviceaccounts"
        version: "v1"
        builtin: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. pilot/pkg/status/distribution/reporter.go

    func CreateOrUpdateConfigMap(ctx context.Context, cm *corev1.ConfigMap, client v1.ConfigMapInterface) (res *corev1.ConfigMap, err error) {
    	if res, err = client.Create(ctx, cm, metav1.CreateOptions{}); err != nil {
    		if !kerrors.IsAlreadyExists(err) {
    			scope.Errorf("%v", err)
    			return nil, fmt.Errorf("unable to create ConfigMap: %w", err)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. pkg/kubelet/util/manager/watch_based_manager.go

    		//
    		// NOTE: we may potentially not even start the reflector if the object is
    		// already immutable. However, given that:
    		// - we want to also handle the case when object is marked as immutable later
    		// - Secrets and ConfigMaps are periodically fetched by volumemanager anyway
    		// - doing that wouldn't provide visible scalability/performance gain - we
    		//   already have it from here
    		// - doing that would require significant refactoring to reflector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. pkg/kube/krt/README.md

    For example, a simple `Singleton` example that keeps track of the number of `ConfigMap`s in the cluster:
    
    ```go
    ConfigMapCount := krt.NewSingleton[int](func(ctx krt.HandlerContext) *int {
        cms := krt.Fetch(ctx, ConfigMaps)
        return ptr.Of(len(cms))
    })
    ```
    
    The `Fetch` operation enables querying against other collections.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/node_authorizer.go

    //  3. If a request is for a secret, configmap, persistent volume, resource claim, or persistent volume claim, reject unless the verb is get, and the requested object is related to the requesting node:
    //     node <- configmap
    //     node <- pod
    //     node <- pod <- secret
    //     node <- pod <- configmap
    //     node <- pod <- pvc
    //     node <- pod <- pvc <- pv
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/kubeadm/app/cmd/certs_test.go

    		client := fakeclientset.NewSimpleClientset()
    		client.PrependReactor("get", "configmaps", func(action clientgotesting.Action) (bool, runtime.Object, error) {
    			getAction := action.(clientgotesting.GetAction)
    			if getAction.GetNamespace() == metav1.NamespaceSystem && getAction.GetName() == kubeadmconstants.KubeadmConfigConfigMap {
    				cm := &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:26:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. pkg/config/analysis/local/istiod_analyze.go

    }
    
    func (sa *IstiodAnalyzer) addRunningKubeIstioConfigMapSource(client kubelib.Client) error {
    	meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(string(sa.istioNamespace)).Get(context.TODO(), meshConfigMapName, metav1.GetOptions{})
    	if err != nil {
    		return fmt.Errorf("could not read configmap %q from namespace %q: %v", meshConfigMapName, sa.istioNamespace, err)
    	}
    
    	configYaml, ok := meshConfigMap.Data[meshConfigMapKey]
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. 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)
Back to top