Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for configmap (0.35 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/config/analysis/analyzers/testdata/sidecar-injector-configmap-absolute-override.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)
  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. 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.NewUnauthorized("no permission to create configmap")
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/apiclient/idempotency.go

    	ctx := context.Background()
    	configMap, err := client.CoreV1().ConfigMaps(meta.Namespace).Get(ctx, meta.Name, metav1.GetOptions{})
    	if err != nil {
    		return errors.Wrap(err, "unable to get ConfigMap")
    	}
    	if err = mutator(configMap); err != nil {
    		return errors.Wrap(err, "unable to mutate ConfigMap")
    	}
    	_, err = client.CoreV1().ConfigMaps(configMap.ObjectMeta.Namespace).Update(ctx, configMap, metav1.UpdateOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/discovery/token/token_test.go

    			if test.delayedJWSSignaturePatch {
    				test.configMap.data = map[string]string{}
    				test.configMap.data[bootstrapapi.KubeConfigKey] = string(kubeconfigBytes)
    			}
    
    			// Populate the default cluster-info data
    			if test.configMap.data == nil {
    				test.configMap.data = map[string]string{}
    				test.configMap.data[bootstrapapi.KubeConfigKey] = string(kubeconfigBytes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K 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. staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go

    func (c *RequestHeaderAuthRequestController) sync() error {
    	configMap, err := c.configmapLister.Get(c.configmapName)
    	if err != nil {
    		return err
    	}
    	return c.syncConfigMap(configMap)
    }
    
    func (c *RequestHeaderAuthRequestController) syncConfigMap(configMap *corev1.ConfigMap) error {
    	hasChanged, newRequestHeaderBundle, err := c.hasRequestHeaderBundleChanged(configMap)
    	if err != nil {
    		return err
    	}
    	if hasChanged {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top