Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for configmap (0.73 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    						Value: "ENV_VAR",
    					},
    				},
    			},
    			nilLister: false,
    			configMap: &v1.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "test1",
    					Name:      "test-configmap",
    				},
    				Data: map[string]string{
    					"REPLACE_ME": "FROM_CONFIG_MAP",
    					"DUPE_TEST":  "CONFIG_MAP",
    				},
    			},
    			expectedEnvs: []kubecontainer.EnvVar{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		case envFrom.ConfigMapRef != nil:
    			cm := envFrom.ConfigMapRef
    			name := cm.Name
    			configMap, ok := configMaps[name]
    			if !ok {
    				if kl.kubeClient == nil {
    					return result, fmt.Errorf("couldn't get configMap %v/%v, no kubeClient defined", pod.Namespace, name)
    				}
    				optional := cm.Optional != nil && *cm.Optional
    				configMap, err = kl.configMapManager.GetConfigMap(pod.Namespace, name)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    	return &b
    }
    
    func TestPrintConfigMap(t *testing.T) {
    	tests := []struct {
    		configMap api.ConfigMap
    		expected  []metav1.TableRow
    	}{
    		// Basic config map with no data.
    		{
    			configMap: api.ConfigMap{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "configmap1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    			configMapManager = configmap.NewCachingConfigMapManager(
    				klet.kubeClient, manager.GetObjectTTLFromNodeFunc(klet.GetNode))
    		case kubeletconfiginternal.GetChangeDetectionStrategy:
    			secretManager = secret.NewSimpleSecretManager(klet.kubeClient)
    			configMapManager = configmap.NewSimpleConfigMapManager(klet.kubeClient)
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    	// 			VolumeSource: v1.VolumeSource{
    	// 				ConfigMap: &v1.ConfigMapVolumeSource{
    	// 					LocalObjectReference: v1.LocalObjectReference{
    	// 						Name: "config-map"}}}}},
    	// 	},
    	// }
    	// testMainKubelet.configMapManager.RegisterPod(pod)
    	// testMainKubelet.secretManager.RegisterPod(pod)
    	assert.Nil(t, testMainKubelet.configMapManager, "configmap manager should be nil if kubelet is in standalone mode")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. samples/addons/grafana.yaml

                  path: /api/health
                  port: 3000
          volumes:
            - name: config
              configMap:
                name: grafana
            - name: dashboards-istio
              configMap:
                name: istio-grafana-dashboards
            - name: dashboards-istio-services
              configMap:
                name: istio-services-grafana-dashboards
            - name: storage
              emptyDir: {}
    
    ---
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

      if [[ "${LOGGING_STACKDRIVER_RESOURCE_TYPES:-old}" == "new" ]]; then
        local -r fluentd_gcp_configmap_yaml="${dst_dir}/fluentd-gcp/fluentd-gcp-configmap.yaml"
        fluentd_gcp_configmap_name="fluentd-gcp-config"
      else
        local -r fluentd_gcp_configmap_yaml="${dst_dir}/fluentd-gcp/fluentd-gcp-configmap-old.yaml"
        fluentd_gcp_configmap_name="fluentd-gcp-config-old"
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    	configMapColumnDefinitions := []metav1.TableColumnDefinition{
    		{Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]},
    		{Name: "Data", Type: "string", Description: apiv1.ConfigMap{}.SwaggerDoc()["data"]},
    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    	}
    	_ = h.TableHandler(configMapColumnDefinitions, printConfigMap)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top