Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for immutable (0.18 sec)

  1. pkg/apis/core/validation/validation.go

    	if oldCfg.Immutable != nil && *oldCfg.Immutable {
    		if newCfg.Immutable == nil || !*newCfg.Immutable {
    			allErrs = append(allErrs, field.Forbidden(field.NewPath("immutable"), "field is immutable when `immutable` is set"))
    		}
    		if !reflect.DeepEqual(newCfg.Data, oldCfg.Data) {
    			allErrs = append(allErrs, field.Forbidden(field.NewPath("data"), "field is immutable when `immutable` is set"))
    		}
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 349.5K bytes
    - Viewed (1)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    						ListKind: "listkind2",
    					},
    					StoredVersions: []string{"version2"},
    				},
    			},
    			errors: []validationMatch{
    				immutable("spec", "group"),
    				immutable("spec", "scope"),
    				immutable("spec", "names", "kind"),
    				immutable("spec", "names", "plural"),
    			},
    		},
    		{
    			name: "top-level and per-version fields are mutually exclusive",
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-10 22:07
    - 349.4K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.21.md

    ### Immutable Secrets and ConfigMaps
    
    Immutable Secrets and ConfigMaps graduates to GA. This feature allows users to specify that the contents of a particular Secret or ConfigMap is immutable for its object lifetime. For such instances, Kubelet will not watch/poll for changes and therefore reducing apiserver load.
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2022-10-14 07:03
    - 367.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/types.go

    	// Immutable, if set to true, ensures that data stored in the Secret cannot
    	// be updated (only object metadata can be modified).
    	// If not set to true, the field can be modified at any time.
    	// Defaulted to nil.
    	// +optional
    	Immutable *bool `json:"immutable,omitempty" protobuf:"varint,5,opt,name=immutable"`
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 390.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Immutable, if set to true, ensures that data stored in the ConfigMap cannot
      // be updated (only object metadata can be modified).
      // If not set to true, the field can be modified at any time.
      // Defaulted to nil.
      // +optional
      optional bool immutable = 4;
    
      // Data contains the configuration data.
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-03-11 18:43
    - 255.8K bytes
    - Viewed (0)
  6. pkg/apis/core/types.go

    type Secret struct {
    	metav1.TypeMeta
    	// +optional
    	metav1.ObjectMeta
    
    	// Immutable field, if set, ensures that data stored in the Secret cannot
    	// be updated (only object metadata can be modified).
    	// +optional
    	Immutable *bool
    
    	// Data contains the secret data. Each key must consist of alphanumeric
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 268.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"":           "ConfigMap holds configuration data for pods to consume.",
    	"metadata":   "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
    	"immutable":  "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.",
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 254.8K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    }
    
    func autoConvert_v1_ConfigMap_To_core_ConfigMap(in *v1.ConfigMap, out *core.ConfigMap, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.Immutable = (*bool)(unsafe.Pointer(in.Immutable))
    	out.Data = *(*map[string]string)(unsafe.Pointer(&in.Data))
    	out.BinaryData = *(*map[string][]byte)(unsafe.Pointer(&in.BinaryData))
    	return nil
    }
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 472.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Immutable, if set to true, ensures that data stored in the ConfigMap cannot
      // be updated (only object metadata can be modified).
      // If not set to true, the field can be modified at any time.
      // Defaulted to nil.
      // +optional
      optional bool immutable = 4;
    
      // Data contains the configuration data.
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-05-29 22:40
    - 280.3K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__storage.k8s.io__v1_openapi.json

                "type": "boolean"
              },
              "fsGroupPolicy": {
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-03-08 04:18
    - 481.9K bytes
    - Viewed (0)
Back to top