Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for forbidden (0.14 sec)

  1. plugin/pkg/admission/noderestriction/admission_test.go

    		node.Labels = map[string]string{}
    	}
    	if value == "" {
    		value = "value"
    	}
    	// node restriction labels are forbidden
    	node.Labels["node-restriction.kubernetes.io/foo"] = value
    	node.Labels["foo.node-restriction.kubernetes.io/foo"] = value
    	// arbitrary kubernetes labels are forbidden on update
    	node.Labels["other.kubernetes.io/foo"] = value
    	node.Labels["other.k8s.io/foo"] = value
    	return node
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    				"spec.versions[0].schema.openAPIV3Schema.anyOf[0].items.additionalProperties: Forbidden: must be undefined to be structural",
    				"spec.versions[0].schema.openAPIV3Schema.anyOf[0].items.title: Forbidden: must be empty to be structural",
    				"spec.versions[0].schema.openAPIV3Schema.anyOf[0].items.description: Forbidden: must be empty to be structural",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    			field.Forbidden(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("user"), "user is forbidden when subject kind is not 'User'"),
    			field.Forbidden(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("group"), "group is forbidden when subject kind is not 'Group'"),
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. pkg/apis/certificates/validation/validation_test.go

    		}},
    		oldCSR: &capi.CertificateSigningRequest{ObjectMeta: validUpdateMetaWithFinalizers, Spec: validSpec},
    		errs: []string{
    			`status.conditions: Forbidden: updates may not add a condition of type "Approved"`,
    		},
    	}, {
    		name:   "remove Approved condition",
    		newCSR: &capi.CertificateSigningRequest{ObjectMeta: validUpdateMeta, Spec: validSpec},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    			detail += " " + v.disallowDefaultsReason
    		}
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("default"), detail))
    	}
    
    	if schema.ID != "" {
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("id"), "id is not supported"))
    	}
    
    	if schema.AdditionalItems != nil {
    		allErrs = append(allErrs, field.Forbidden(fldPath.Child("additionalItems"), "additionalItems is not supported"))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/defaults_test.go

    	}
    	// New defaults under PodTemplateSpec are only acceptable if they would not be applied when reading data from a previous release.
    	// Forbidden: adding a new field `MyField *bool` and defaulting it to a non-nil value
    	// Forbidden: defaulting an existing field `MyField *bool` when it was previously not defaulted
    	// Forbidden: changing an existing default value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        UrlComponentEncodingTester.newInstance()
          .nonPrintableAscii(Encoding.FORBIDDEN)
          .nonAscii(Encoding.PUNYCODE)
          .override(
            Encoding.FORBIDDEN,
            '\t'.code,
            '\n'.code,
            '\u000c'.code,
            '\r'.code,
            ' '.code,
          )
          .override(
            Encoding.FORBIDDEN,
            '#'.code,
            '%'.code,
            '/'.code,
            ':'.code,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  8. pkg/apis/networking/validation/validation_test.go

    				"`parameters.scope` is set to 'Namespace'")},
    		},
    		"namespace is forbidden when scope is Cluster": {
    			ingressClass: makeValidIngressClass("test123", "foo.co/bar",
    				setParams(makeIngressClassParams(nil, "foo", "bar", utilpointer.String("Cluster"), utilpointer.String("foo-ns"))),
    			),
    			expectedErrs: field.ErrorList{field.Forbidden(field.NewPath("spec.parameters.namespace"),
    				"`parameters.scope` is set to 'Cluster'")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// Details (optional):
    	//   "kind" string - the kind attribute of the forbidden resource
    	//                   on some operations may differ from the requested
    	//                   resource.
    	//   "id"   string - the identifier of the forbidden resource
    	// Status code 403
    	StatusReasonForbidden StatusReason = "Forbidden"
    
    	// StatusReasonNotFound means one or more resources required for this operation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/validation/validation.go

    			allErrors = append(allErrors, field.Invalid(fldPath.Child("name"), pr.Name, msg))
    		}
    
    		if pr.Selector != nil {
    			allErrors = append(allErrors, field.Forbidden(fldPath.Child("name"), `name and selector are mutually exclusive`))
    		}
    	}
    
    	if pr.Selector != nil {
    		labelSelectorValidationOpts := metav1validation.LabelSelectorValidationOptions{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
Back to top