Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 313 for configmap3 (0.17 sec)

  1. pkg/test/framework/components/istio/configmap.go

    	}
    	return cmName, nil
    }
    
    func (cm *configMap) getConfigMap(c cluster.Cluster, name string) (*corev1.ConfigMap, error) {
    	return c.Kube().CoreV1().ConfigMaps(cm.namespace).Get(context.TODO(), name, metav1.GetOptions{})
    }
    
    func (cm *configMap) updateConfigMap(c cluster.Cluster, cfgMap *corev1.ConfigMap) error {
    	_, err := c.Kube().CoreV1().ConfigMaps(cm.namespace).Update(context.TODO(), cfgMap, metav1.UpdateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go

    	return extractConfigMap(configMap, fieldManager, "status")
    }
    
    func extractConfigMap(configMap *corev1.ConfigMap, fieldManager string, subresource string) (*ConfigMapApplyConfiguration, error) {
    	b := &ConfigMapApplyConfiguration{}
    	err := managedfields.ExtractInto(configMap, internal.Parser().Type("io.k8s.api.core.v1.ConfigMap"), fieldManager, b, subresource)
    	if err != nil {
    		return nil, err
    	}
    	b.WithName(configMap.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph_test.go

    					{Name: "volume1", VolumeSource: corev1.VolumeSource{ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: "cm1"}}}},
    					{Name: "volume2", VolumeSource: corev1.VolumeSource{ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: "cm2"}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. security/pkg/k8s/configutil_test.go

    	client.PrependReactor("get", "configmaps", func(action ktesting.Action) (bool, runtime.Object, error) {
    		return true, &v1.ConfigMap{}, errors.NewNotFound(v1.Resource("configmaps"), configMapName)
    	})
    	client.PrependReactor("create", "configmaps", func(action ktesting.Action) (bool, runtime.Object, error) {
    		return true, &v1.ConfigMap{}, errors.NewAlreadyExists(v1.Resource("configmaps"), configMapName)
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    		pod.Spec.Volumes = append(pod.Spec.Volumes, corev1.Volume{VolumeSource: corev1.VolumeSource{
    			ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: fmt.Sprintf("configmap%d-%s", i, pod.Name)}},
    		}})
    	}
    	// Choose shared configmaps randomly from shared configmaps in a namespace.
    	subset = randomSubset(opts.sharedConfigMapsPerPod, opts.sharedConfigMapsPerNamespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml

    # This ConfigMap is used to ingest logs against new resources like
    # "k8s_container" and "k8s_node" when $LOGGING_STACKDRIVER_RESOURCE_TYPES is set
    # to "new".
    # When $LOGGING_STACKDRIVER_RESOURCE_TYPES is set to "old", the ConfigMap in
    # fluentd-gcp-configmap-old.yaml will be used for ingesting logs against old
    # resources like "gke_container" and "gce_instance".
    kind: ConfigMap
    apiVersion: v1
    data:
      containers.input.conf: |-
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 26 07:09:07 UTC 2018
    - 18.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    				client.PrependReactor("create", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, apierrors.NewAlreadyExists(schema.GroupResource{}, "name")
    				})
    				client.PrependReactor("get", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, &v1.ConfigMap{}, nil
    				})
    			},
    			mutator:       func(*v1.ConfigMap) error { return errors.New("") },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  9. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go

    func getFinalConfigMaps(t *testing.T, client *fake.Clientset) (map[string]*corev1.ConfigMap, bool) {
    	ret := map[string]*corev1.ConfigMap{}
    	created := false
    
    	for _, action := range client.Actions() {
    		t.Log(dump.Pretty(action))
    		if action.Matches("create", "configmaps") {
    			created = true
    			obj := action.(clienttesting.CreateAction).GetObject().(*corev1.ConfigMap)
    			ret[obj.Name] = obj
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/common/sidecar-injector-configmap.yaml

              {{ end }}
              {{- end }}
          volumes:
          {{- if (isset .ObjectMeta.Annotations `sidecar.istio.io/bootstrapOverride`) }}
          - name: custom-bootstrap-volume
            configMap:
              name: {{ annotation .ObjectMeta `sidecar.istio.io/bootstrapOverride` "" }}
          {{- end }}
          - emptyDir:
              medium: Memory
            name: istio-envoy
          {{- if .Values.global.sds.enabled }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top