Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 636 for configmap3 (0.41 sec)

  1. cmd/kubeadm/app/phases/kubelet/config.go

    	if err != nil {
    		return err
    	}
    
    	configMap := &v1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      configMapName,
    			Namespace: metav1.NamespaceSystem,
    		},
    		Data: map[string]string{
    			kubeadmconstants.KubeletBaseConfigurationConfigMapKey: string(kubeletBytes),
    		},
    	}
    
    	if !kubeletCfg.IsUserSupplied() {
    		componentconfigs.SignConfigMap(configMap)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/kube/krt/collection_test.go

    	Results := krt.NewCollection(pods, func(ctx krt.HandlerContext, i *corev1.Pod) *Result {
    		foos := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblFoo))
    		bars := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblBar))
    		names := slices.Map(foos, func(f *corev1.ConfigMap) string { return f.Name })
    		names = append(names, slices.Map(bars, func(f *corev1.ConfigMap) string { return f.Name })...)
    		names = slices.Sort(names)
    		return &Result{
    			Named:   NewNamed(i),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/injection/injection-image.go

    			gvk.Namespace,
    			gvk.Pod,
    			gvk.ConfigMap,
    			gvk.MeshConfig,
    			gvk.ProxyConfig,
    		},
    	}
    }
    
    // Analyze implements Analyzer.
    func (a *ImageAnalyzer) Analyze(c analysis.Context) {
    	proxyImageMap := make(map[string]string)
    
    	// when multiple injector configmaps exist, we may need to assess them respectively.
    	c.ForEach(gvk.ConfigMap, func(r *resource.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/file/file.go

    				return false, nil
    			}
    			return true, nil
    		})
    	if err != nil {
    		return nil, errors.Wrapf(lastError, "Abort reading the %s ConfigMap after timeout of %v",
    			bootstrapapi.ConfigMapClusterInfo, discoveryTimeout)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/sidecar-injector-configmap-with-revision-canary.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.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/injection/injection.go

    			return true
    		}
    
    		// verify the enableNamespacesByDefault flag in injection configmaps
    		c.ForEach(gvk.ConfigMap, func(r *resource.Instance) bool {
    			injectionCMName := util.GetInjectorConfigMapName(nsRevision)
    			if r.Metadata.FullName.Name.String() == injectionCMName {
    				cm := r.Message.(*v1.ConfigMap)
    				enableNamespacesByDefault = GetEnableNamespacesByDefaultFromInjectedConfigMap(cm)
    				return false
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/cluster_test.go

    		staticPods      []testresources.FakeStaticPod
    		configMaps      []testresources.FakeConfigMap
    		newControlPlane bool
    		expectedError   bool
    	}{
    		{
    			name:          "invalid - No kubeadm-config ConfigMap",
    			expectedError: true,
    		},
    		{
    			name: "invalid - No ClusterConfiguration in kubeadm-config ConfigMap",
    			configMaps: []testresources.FakeConfigMap{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/dns/dns.go

    	if err != nil {
    		return errors.Wrap(err, "unable to migrate CoreDNS ConfigMap")
    	}
    
    	// Take a copy of the existing Corefile data as `Corefile-backup` and update the ConfigMap
    	if _, err := client.CoreV1().ConfigMaps(cm.ObjectMeta.Namespace).Update(context.TODO(), &v1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      kubeadmconstants.CoreDNSConfigMap,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/discovery/token/token.go

    	if err != nil {
    		return nil, errors.Wrapf(err, "couldn't parse the kubeconfig file in the %s ConfigMap", bootstrapapi.ConfigMapClusterInfo)
    	}
    
    	// The ConfigMap should contain a single cluster
    	if len(insecureConfig.Clusters) != 1 {
    		return nil, errors.Errorf("expected the kubeconfig file in the %s ConfigMap to have a single cluster, but it had %d", bootstrapapi.ConfigMapClusterInfo, len(insecureConfig.Clusters))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
    					Data:       map[string]string{"root-cert.pem": string(fakeCACert)},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("istio-system").Create(context.Background(), &v1.ConfigMap{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top