Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for defaulted (0.18 sec)

  1. pkg/apis/batch/v1/defaults_test.go

    					Suspend:        pointer.Bool(true),
    					ManualSelector: pointer.Bool(false),
    				},
    			},
    			expectLabels: true,
    		},
    		"All unspecified -> all pointers are defaulted and no default labels": {
    			original: &batchv1.Job{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{"mylabel": "myvalue"},
    				},
    				Spec: batchv1.JobSpec{
    					Template: v1.PodTemplateSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/initconfiguration.go

    // If cfgPath is specified, the versioned configs will always get overridden with the one in the file (specified by cfgPath).
    // The external, versioned configuration is defaulted and converted to the internal type.
    // Right thereafter, the configuration is defaulted again with dynamic values (like IP addresses of a machine, etc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go

    	}
    	initialResourceVersion := foo.GetResourceVersion()
    	t.Logf("CR created: %#v", foo.UnstructuredContent())
    	// spec.a and spec.b are defaulted in both versions
    	// spec.v1beta1 is defaulted when reading the incoming request
    	// spec.v1beta2 is defaulted when reading the storage response
    	mustExist(foo.Object, [][]string{{"spec", "a"}, {"spec", "b"}, {"spec", "v1beta1"}, {"spec", "v1beta2"}, {"spec", "replicas"}})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  4. pkg/apis/certificates/v1beta1/defaults_test.go

    		usages []capi.KeyUsage
    		exp    bool
    	}{
    		"defaults for kubelet-serving": {
    			req:    newCSR(kubeletServerPEMOptions),
    			usages: kubeletServerUsages,
    			exp:    true,
    		},
    		"defaults without key encipherment for kubelet-serving": {
    			req:    newCSR(kubeletServerPEMOptions),
    			usages: kubeletServerUsagesNoRSA,
    			exp:    true,
    		},
    		"does not default to kube-apiserver-client-kubelet if org is not 'system:nodes'": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/configset.go

    	}
    }
    
    // Default sets up defaulted component configs in the supplied ClusterConfiguration
    func Default(clusterCfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions) {
    	ensureInitializedComponentConfigs(clusterCfg)
    
    	for _, handler := range known {
    		// If the component config exists, simply default it. Otherwise, create it before defaulting.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    			expectedObject: &testDecodable{},
    			expectedGVK:    &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"},
    			strict:         true,
    		},
    
    		// version without group is not defaulted
    		{
    			data:           []byte(`{"apiVersion":"blah"}`),
    			defaultGVK:     &schema.GroupVersionKind{Kind: "Test", Group: "other", Version: "blah"},
    			creater:        &mockCreater{obj: &testDecodable{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. pkg/apis/authorization/types.go

    	metav1.TypeMeta
    	metav1.ObjectMeta
    
    	// Spec holds information about the request being evaluated.  spec.namespace must be equal to the namespace
    	// you made the request against.  If empty, it is defaulted.
    	Spec SubjectAccessReviewSpec
    
    	// Status is filled in by the server and indicates whether the request is allowed or not
    	Status SubjectAccessReviewStatus
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 08:53:21 UTC 2019
    - 10K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go

    		if options.Force != nil {
    			allErrs = append(allErrs, field.Forbidden(field.NewPath("force"), "may not be specified for non-apply patch"))
    		}
    	} else {
    		if options.FieldManager == "" {
    			// This field is defaulted to "kubectl" by kubectl, but HAS TO be explicitly set by controllers.
    			allErrs = append(allErrs, field.Required(field.NewPath("fieldManager"), "is required for apply patch"))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:52:02 UTC 2022
    - 13.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/authorization/v1/types_swagger_doc_generated.go

    	"spec":     "Spec holds information about the request being evaluated.  spec.namespace must be equal to the namespace you made the request against.  If empty, it is defaulted.",
    	"status":   "Status is filled in by the server and indicates whether the request is allowed or not",
    }
    
    func (LocalSubjectAccessReview) SwaggerDoc() map[string]string {
    	return map_LocalSubjectAccessReview
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/index_test.go

    			vol:             createTestVolOrderedIndex(createVolumeModeFilesystemTestVolume()),
    			pvc:             makeVolumeModePVC("8G", &filesystemMode, nil),
    		},
    		"pvc mode is nil and defaulted and pv mode is nil and defaulted": {
    			isExpectedMatch: true,
    			vol:             createTestVolOrderedIndex(createVolumeModeFilesystemTestVolume()),
    			pvc:             makeVolumeModePVC("8G", &filesystemMode, nil),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
Back to top