- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for paramKind (0.18 sec)
-
pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz.go
paramKind := policy.Spec.ParamKind if gv, err := schema.ParseGroupVersion(paramKind.APIVersion); err == nil { // we only need to authorize the parsed group/version apiGroup = gv.Group apiVersion = gv.Version if gvr, err := v.resourceResolver.Resolve(gv.WithKind(paramKind.Kind)); err == nil { // we only need to authorize the resolved resource
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 12:19:03 UTC 2024 - 3.7K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
allErrors = append(allErrors, field.NotSupported(fldPath.Child("failurePolicy"), *spec.FailurePolicy, supportedFailurePolicies.List())) } if spec.ParamKind != nil { opts.allowParamsInMatchConditions = true allErrors = append(allErrors, validateParamKind(*spec.ParamKind, fldPath.Child("paramKind"))...) } if spec.MatchConstraints == nil { allErrors = append(allErrors, field.Required(fldPath.Child("matchConstraints"), "")) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.yaml
apiVersions: - apiVersionsValue operations: - operationsValue resourceNames: - resourceNamesValue resources: - resourcesValue scope: scopeValue paramKind: apiVersion: apiVersionValue kind: kindValue validations: - expression: expressionValue message: messageValue messageExpression: messageExpressionValue reason: reasonValue variables:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/generated.proto
// It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. // If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. // If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1.ValidatingAdmissionPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "paramKind": { "apiVersion": "apiVersionValue", "kind": "kindValue" }, "matchConstraints": { "namespaceSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "paramKind": { "apiVersion": "apiVersionValue", "kind": "kindValue" }, "matchConstraints": { "namespaceSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1alpha1.ValidatingAdmissionPolicy.yaml
apiVersions: - apiVersionsValue operations: - operationsValue resourceNames: - resourceNamesValue resources: - resourcesValue scope: scopeValue paramKind: apiVersion: apiVersionValue kind: kindValue validations: - expression: expressionValue message: messageValue messageExpression: messageExpressionValue reason: reasonValue variables:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "paramKind": { "apiVersion": "apiVersionValue", "kind": "kindValue" }, "matchConstraints": { "namespaceSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/admissionregistration.k8s.io.v1beta1.ValidatingAdmissionPolicy.yaml
apiVersions: - apiVersionsValue operations: - operationsValue resourceNames: - resourceNamesValue resources: - resourcesValue scope: scopeValue paramKind: apiVersion: apiVersionValue kind: kindValue validations: - expression: expressionValue message: messageValue messageExpression: messageExpressionValue reason: reasonValue variables:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation_test.go
}}, ParamKind: &admissionregistration.ParamKind{ APIVersion: "test.example.com/v1", }, }, }, expectedError: `spec.paramKind.kind: Required value`, }, { name: "API version format in ParamKind", config: &admissionregistration.ValidatingAdmissionPolicy{ ObjectMeta: metav1.ObjectMeta{ Name: "config", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 147.1K bytes - Viewed (0)