Skip to content

Commit 3a0edd1

Browse files
committed
package: publish k8s 1.32.4
Signed-off-by: liangyuanpeng <[email protected]>
1 parent a2531fc commit 3a0edd1

File tree

317 files changed

+4546
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+4546
-649
lines changed

k8s/1.32/api/admissionregistration/v1/match_resources.k

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the match_resources module in k8s.api.admissionregistration.v1 package.
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema MatchResources:
@@ -22,7 +22,7 @@ schema MatchResources:
2222
- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
2323

2424
Defaults to "Equivalent"
25-
namespaceSelector : v1.LabelSelector, default is Undefined, optional
25+
namespaceSelector : metav1.LabelSelector, default is Undefined, optional
2626
NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.
2727

2828
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
@@ -54,7 +54,7 @@ schema MatchResources:
5454
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
5555

5656
Default to the empty LabelSelector, which matches everything.
57-
objectSelector : v1.LabelSelector, default is Undefined, optional
57+
objectSelector : metav1.LabelSelector, default is Undefined, optional
5858
ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
5959
resourceRules : [NamedRuleWithOperations], default is Undefined, optional
6060
ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.
@@ -65,9 +65,9 @@ schema MatchResources:
6565

6666
matchPolicy?: str
6767

68-
namespaceSelector?: v1.LabelSelector
68+
namespaceSelector?: metav1.LabelSelector
6969

70-
objectSelector?: v1.LabelSelector
70+
objectSelector?: metav1.LabelSelector
7171

7272
resourceRules?: [NamedRuleWithOperations]
7373

k8s/1.32/api/admissionregistration/v1/mutating_webhook.k

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the mutating_webhook module in k8s.api.admissionregistration.v1 package.
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema MutatingWebhook:
@@ -37,7 +37,7 @@ schema MutatingWebhook:
3737
Defaults to "Equivalent"
3838
name : str, default is Undefined, required
3939
The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
40-
namespaceSelector : v1.LabelSelector, default is Undefined, optional
40+
namespaceSelector : metav1.LabelSelector, default is Undefined, optional
4141
NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
4242

4343
For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
@@ -69,7 +69,7 @@ schema MutatingWebhook:
6969
See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.
7070

7171
Default to the empty LabelSelector, which matches everything.
72-
objectSelector : v1.LabelSelector, default is Undefined, optional
72+
objectSelector : metav1.LabelSelector, default is Undefined, optional
7373
ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
7474
reinvocationPolicy : str, default is Undefined, optional
7575
reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
@@ -100,9 +100,9 @@ schema MutatingWebhook:
100100

101101
name: str
102102

103-
namespaceSelector?: v1.LabelSelector
103+
namespaceSelector?: metav1.LabelSelector
104104

105-
objectSelector?: v1.LabelSelector
105+
objectSelector?: metav1.LabelSelector
106106

107107
reinvocationPolicy?: str
108108

k8s/1.32/api/admissionregistration/v1/mutating_webhook_configuration.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the mutating_webhook_configuration module in k8s.api.admissionregistrati
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema MutatingWebhookConfiguration:
@@ -16,7 +16,7 @@ schema MutatingWebhookConfiguration:
1616
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1717
kind : str, default is "MutatingWebhookConfiguration", required
1818
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
19-
metadata : v1.ObjectMeta, default is Undefined, optional
19+
metadata : metav1.ObjectMeta, default is Undefined, optional
2020
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
2121
webhooks : [MutatingWebhook], default is Undefined, optional
2222
Webhooks is a list of webhooks and the affected resources and operations.
@@ -27,7 +27,7 @@ schema MutatingWebhookConfiguration:
2727

2828
kind: "MutatingWebhookConfiguration" = "MutatingWebhookConfiguration"
2929

30-
metadata?: v1.ObjectMeta
30+
metadata?: metav1.ObjectMeta
3131

3232
webhooks?: [MutatingWebhook]
3333

k8s/1.32/api/admissionregistration/v1/mutating_webhook_configuration_list.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the mutating_webhook_configuration_list module in k8s.api.admissionregis
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema MutatingWebhookConfigurationList:
@@ -18,7 +18,7 @@ schema MutatingWebhookConfigurationList:
1818
List of MutatingWebhookConfiguration.
1919
kind : str, default is "MutatingWebhookConfigurationList", required
2020
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
21-
metadata : v1.ListMeta, default is Undefined, optional
21+
metadata : metav1.ListMeta, default is Undefined, optional
2222
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2323
"""
2424

@@ -29,6 +29,6 @@ schema MutatingWebhookConfigurationList:
2929

3030
kind: "MutatingWebhookConfigurationList" = "MutatingWebhookConfigurationList"
3131

32-
metadata?: v1.ListMeta
32+
metadata?: metav1.ListMeta
3333

3434

k8s/1.32/api/admissionregistration/v1/param_ref.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the param_ref module in k8s.api.admissionregistration.v1 package.
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ParamRef:
@@ -32,7 +32,7 @@ schema ParamRef:
3232
Allowed values are `Allow` or `Deny`
3333

3434
Required
35-
selector : v1.LabelSelector, default is Undefined, optional
35+
selector : metav1.LabelSelector, default is Undefined, optional
3636
selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.
3737

3838
If multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.
@@ -47,6 +47,6 @@ schema ParamRef:
4747

4848
parameterNotFoundAction?: str
4949

50-
selector?: v1.LabelSelector
50+
selector?: metav1.LabelSelector
5151

5252

k8s/1.32/api/admissionregistration/v1/validating_admission_policy.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the validating_admission_policy module in k8s.api.admissionregistration.
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ValidatingAdmissionPolicy:
@@ -16,7 +16,7 @@ schema ValidatingAdmissionPolicy:
1616
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1717
kind : str, default is "ValidatingAdmissionPolicy", required
1818
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
19-
metadata : v1.ObjectMeta, default is Undefined, optional
19+
metadata : metav1.ObjectMeta, default is Undefined, optional
2020
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
2121
spec : ValidatingAdmissionPolicySpec, default is Undefined, optional
2222
Specification of the desired behavior of the ValidatingAdmissionPolicy.
@@ -27,7 +27,7 @@ schema ValidatingAdmissionPolicy:
2727

2828
kind: "ValidatingAdmissionPolicy" = "ValidatingAdmissionPolicy"
2929

30-
metadata?: v1.ObjectMeta
30+
metadata?: metav1.ObjectMeta
3131

3232
spec?: ValidatingAdmissionPolicySpec
3333

k8s/1.32/api/admissionregistration/v1/validating_admission_policy_binding.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the validating_admission_policy_binding module in k8s.api.admissionregis
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ValidatingAdmissionPolicyBinding:
@@ -20,7 +20,7 @@ schema ValidatingAdmissionPolicyBinding:
2020
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2121
kind : str, default is "ValidatingAdmissionPolicyBinding", required
2222
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
23-
metadata : v1.ObjectMeta, default is Undefined, optional
23+
metadata : metav1.ObjectMeta, default is Undefined, optional
2424
Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
2525
spec : ValidatingAdmissionPolicyBindingSpec, default is Undefined, optional
2626
Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
@@ -31,7 +31,7 @@ schema ValidatingAdmissionPolicyBinding:
3131

3232
kind: "ValidatingAdmissionPolicyBinding" = "ValidatingAdmissionPolicyBinding"
3333

34-
metadata?: v1.ObjectMeta
34+
metadata?: metav1.ObjectMeta
3535

3636
spec?: ValidatingAdmissionPolicyBindingSpec
3737

k8s/1.32/api/admissionregistration/v1/validating_admission_policy_binding_list.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the validating_admission_policy_binding_list module in k8s.api.admission
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ValidatingAdmissionPolicyBindingList:
@@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyBindingList:
1818
List of PolicyBinding.
1919
kind : str, default is "ValidatingAdmissionPolicyBindingList", required
2020
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
21-
metadata : v1.ListMeta, default is Undefined, optional
21+
metadata : metav1.ListMeta, default is Undefined, optional
2222
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2323
"""
2424

@@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyBindingList:
2929

3030
kind: "ValidatingAdmissionPolicyBindingList" = "ValidatingAdmissionPolicyBindingList"
3131

32-
metadata?: v1.ListMeta
32+
metadata?: metav1.ListMeta
3333

3434

k8s/1.32/api/admissionregistration/v1/validating_admission_policy_list.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the validating_admission_policy_list module in k8s.api.admissionregistra
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ValidatingAdmissionPolicyList:
@@ -18,7 +18,7 @@ schema ValidatingAdmissionPolicyList:
1818
List of ValidatingAdmissionPolicy.
1919
kind : str, default is "ValidatingAdmissionPolicyList", required
2020
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
21-
metadata : v1.ListMeta, default is Undefined, optional
21+
metadata : metav1.ListMeta, default is Undefined, optional
2222
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2323
"""
2424

@@ -29,6 +29,6 @@ schema ValidatingAdmissionPolicyList:
2929

3030
kind: "ValidatingAdmissionPolicyList" = "ValidatingAdmissionPolicyList"
3131

32-
metadata?: v1.ListMeta
32+
metadata?: metav1.ListMeta
3333

3434

k8s/1.32/api/admissionregistration/v1/validating_admission_policy_status.k

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ This is the validating_admission_policy_status module in k8s.api.admissionregist
33
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
44
Editing this file might prove futile when you re-run the KCL auto-gen generate command.
55
"""
6-
import apimachinery.pkg.apis.meta.v1
6+
import apimachinery.pkg.apis.meta.v1 as metav1
77

88

99
schema ValidatingAdmissionPolicyStatus:
@@ -12,7 +12,7 @@ schema ValidatingAdmissionPolicyStatus:
1212

1313
Attributes
1414
----------
15-
conditions : [v1.Condition], default is Undefined, optional
15+
conditions : [metav1.Condition], default is Undefined, optional
1616
The conditions represent the latest available observations of a policy's current state.
1717
observedGeneration : int, default is Undefined, optional
1818
The generation observed by the controller.
@@ -21,7 +21,7 @@ schema ValidatingAdmissionPolicyStatus:
2121
"""
2222

2323

24-
conditions?: [v1.Condition]
24+
conditions?: [metav1.Condition]
2525

2626
observedGeneration?: int
2727

0 commit comments

Comments
 (0)