Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 797 for configmap3 (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/status/distribution/state.go

    	}
    
    	// configmap informer
    	i := informers.NewSharedInformerFactoryWithOptions(kubernetes.NewForConfigOrDie(restConfig), 1*time.Minute,
    		informers.WithNamespace(namespace),
    		informers.WithTweakListOptions(func(listOptions *metav1.ListOptions) {
    			listOptions.LabelSelector = labels.Set(map[string]string{labelKey: "true"}).AsSelector().String()
    		})).
    		Core().V1().ConfigMaps()
    	c.cmInformer = i.Informer()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    	// All configs in all namespaces that are Istio revisioned
    	configMaps, err := client.Kube().CoreV1().ConfigMaps("").List(ctx, metav1.ListOptions{LabelSelector: label.IoIstioRev.Name})
    	if err != nil {
    		return retval, err
    	}
    
    	for _, configMap := range configMaps.Items {
    		image := injection.GetIstioProxyImage(&configMap)
    		if image != "" {
    			retval[configMap.ObjectMeta.GetLabels()[label.IoIstioRev.Name]] = image
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz_test.go

    						ParamKind: &admissionregistration.ParamKind{Kind: "ConfigMap", APIVersion: "v1"},
    					},
    				}, nil
    			},
    			resourceResolver: func(gvk schema.GroupVersionKind) (schema.GroupVersionResource, error) {
    				return schema.GroupVersionResource{
    					Group:    "",
    					Version:  "v1",
    					Resource: "configmaps",
    				}, nil
    			},
    			expectErr: false,
    		},
    		{
    			name:     "denied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    	}
    
    	if printManifest {
    		return configMapBytes, nil
    	}
    
    	kubeproxyConfigMap := &v1.ConfigMap{}
    	if err := kuberuntime.DecodeInto(clientsetscheme.Codecs.UniversalDecoder(), configMapBytes, kubeproxyConfigMap); err != nil {
    		return []byte(""), errors.Wrap(err, "unable to decode kube-proxy configmap")
    	}
    
    	if !kubeProxyCfg.IsUserSupplied() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go

    }
    
    // loadCABundle determines the next set of content for the file.
    func (c *ConfigMapCAController) loadCABundle() error {
    	configMap, err := c.configmapLister.ConfigMaps(c.configmapNamespace).Get(c.configmapName)
    	if err != nil {
    		return err
    	}
    	caBundle := configMap.Data[c.configmapKey]
    	if len(caBundle) == 0 {
    		return fmt.Errorf("missing content for CA bundle %q", c.Name())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. pkg/config/analysis/local/analyze_test.go

    		{
    			name: "istio cm",
    			obj: &v1.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "istio",
    				},
    			},
    			expect: true,
    		},
    		{
    			name: "sidecar cm",
    			obj: &v1.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "istio-sidecar-injector",
    				},
    			},
    			expect: true,
    		},
    		{
    			name: "not istio cm",
    			obj: &v1.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top