kubernetypes 1.35.3 → 1.35.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as m2 from 'kubernetypes/api/authentication/v1';
2
- import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
2
+ import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
3
3
  import * as m3 from 'kubernetypes/apimachinery/runtime';
4
- import * as m0 from 'kubernetypes/apimachinery/types';
4
+ import * as m1 from 'kubernetypes/apimachinery/types';
5
5
  /**
6
6
  * AdmissionRequest describes the admission.Attributes for the admission request.
7
7
  */
@@ -14,7 +14,7 @@ export type AdmissionRequest = {
14
14
  /**
15
15
  * kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
16
16
  */
17
- 'kind': m1.GroupVersionKind;
17
+ 'kind': m0.GroupVersionKind;
18
18
  /**
19
19
  * name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and
20
20
  * rely on the server to generate the name. If that is the case, this field will contain an empty string.
@@ -57,7 +57,7 @@ export type AdmissionRequest = {
57
57
  *
58
58
  * See documentation for the "matchPolicy" field in the webhook configuration type for more details.
59
59
  */
60
- 'requestKind'?: m1.GroupVersionKind;
60
+ 'requestKind'?: m0.GroupVersionKind;
61
61
  /**
62
62
  * requestResource is the fully-qualified resource of the original API request (for example, v1.pods).
63
63
  * If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
@@ -70,7 +70,7 @@ export type AdmissionRequest = {
70
70
  *
71
71
  * See documentation for the "matchPolicy" field in the webhook configuration type.
72
72
  */
73
- 'requestResource'?: m1.GroupVersionResource;
73
+ 'requestResource'?: m0.GroupVersionResource;
74
74
  /**
75
75
  * requestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
76
76
  * If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
@@ -80,7 +80,7 @@ export type AdmissionRequest = {
80
80
  /**
81
81
  * resource is the fully-qualified resource being requested (for example, v1.pods)
82
82
  */
83
- 'resource': m1.GroupVersionResource;
83
+ 'resource': m0.GroupVersionResource;
84
84
  /**
85
85
  * subResource is the subresource being requested, if any (for example, "status" or "scale")
86
86
  */
@@ -91,7 +91,7 @@ export type AdmissionRequest = {
91
91
  * The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
92
92
  * It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
93
93
  */
94
- 'uid': m0.UID;
94
+ 'uid': m1.UID;
95
95
  /**
96
96
  * userInfo is information about the requesting user
97
97
  */
@@ -126,12 +126,12 @@ export type AdmissionResponse = {
126
126
  * status is the result contains extra details into why an admission request was denied.
127
127
  * This field IS NOT consulted in any way if "Allowed" is "true".
128
128
  */
129
- 'status'?: m1.Status;
129
+ 'status'?: m0.Status;
130
130
  /**
131
131
  * uid is an identifier for the individual request/response.
132
132
  * This must be copied over from the corresponding AdmissionRequest.
133
133
  */
134
- 'uid': m0.UID;
134
+ 'uid': m1.UID;
135
135
  /**
136
136
  * warnings is a list of warning messages to return to the requesting API client.
137
137
  * Warning messages describe a problem the client making the API request should correct or be aware of.
@@ -143,7 +143,7 @@ export type AdmissionResponse = {
143
143
  /**
144
144
  * AdmissionReview describes an admission review request/response.
145
145
  */
146
- export type AdmissionReview = m1.TypeMeta<'admission.k8s.io/v1', 'AdmissionReview'> & {
146
+ export type AdmissionReview = m0.TypeMeta<'admission.k8s.io/v1', 'AdmissionReview'> & {
147
147
  /**
148
148
  * request describes the attributes for the admission request.
149
149
  */
@@ -1,16 +1,16 @@
1
- import * as m0 from 'kubernetypes/api/authentication/v1';
2
- import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
1
+ import * as m1 from 'kubernetypes/api/authentication/v1';
2
+ import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
3
3
  /**
4
4
  * SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.
5
5
  * When using impersonation, users will receive the user info of the user being impersonated. If impersonation or
6
6
  * request header authentication is used, any extra keys will have their case ignored and returned as lowercase.
7
7
  */
8
- export type SelfSubjectReview = m1.TypeMeta<'authentication.k8s.io/v1alpha1', 'SelfSubjectReview'> & {
8
+ export type SelfSubjectReview = m0.TypeMeta<'authentication.k8s.io/v1alpha1', 'SelfSubjectReview'> & {
9
9
  /**
10
10
  * Standard object's metadata.
11
11
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
12
12
  */
13
- 'metadata'?: m1.ObjectMeta;
13
+ 'metadata'?: m0.ObjectMeta;
14
14
  /**
15
15
  * Status is filled in by the server with the user attributes.
16
16
  */
@@ -23,5 +23,5 @@ export type SelfSubjectReviewStatus = {
23
23
  /**
24
24
  * User attributes of the user making this request.
25
25
  */
26
- 'userInfo'?: m0.UserInfo;
26
+ 'userInfo'?: m1.UserInfo;
27
27
  };
@@ -1,5 +1,5 @@
1
- import * as m0 from 'kubernetypes/api/core/v1';
2
- import * as m2 from 'kubernetypes/apimachinery/api/resource';
1
+ import * as m2 from 'kubernetypes/api/core/v1';
2
+ import * as m0 from 'kubernetypes/apimachinery/api/resource';
3
3
  import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
4
4
  /**
5
5
  * ContainerResourceMetricSource indicates how to scale on a resource metric known to
@@ -18,7 +18,7 @@ export type ContainerResourceMetricSource = {
18
18
  /**
19
19
  * name is the name of the resource in question.
20
20
  */
21
- 'name': m0.ResourceName;
21
+ 'name': m2.ResourceName;
22
22
  /**
23
23
  * target specifies the target value for the given metric
24
24
  */
@@ -43,7 +43,7 @@ export type ContainerResourceMetricStatus = {
43
43
  /**
44
44
  * name is the name of the resource in question.
45
45
  */
46
- 'name': m0.ResourceName;
46
+ 'name': m2.ResourceName;
47
47
  };
48
48
  /**
49
49
  * CrossVersionObjectReference contains enough information to let you identify the referred resource.
@@ -163,7 +163,7 @@ export type HPAScalingRules = {
163
163
  * This is an beta field and requires the HPAConfigurableTolerance feature
164
164
  * gate to be enabled.
165
165
  */
166
- 'tolerance'?: m2.Quantity;
166
+ 'tolerance'?: m0.Quantity;
167
167
  };
168
168
  /**
169
169
  * HorizontalPodAutoscaler is the configuration for a horizontal pod
@@ -229,7 +229,7 @@ export type HorizontalPodAutoscalerCondition = {
229
229
  /**
230
230
  * status is the status of the condition (True, False, Unknown)
231
231
  */
232
- 'status': m0.ConditionStatus;
232
+ 'status': m2.ConditionStatus;
233
233
  /**
234
234
  * type describes the current condition
235
235
  */
@@ -451,7 +451,7 @@ export type MetricTarget = {
451
451
  * averageValue is the target value of the average of the
452
452
  * metric across all relevant pods (as a quantity)
453
453
  */
454
- 'averageValue'?: m2.Quantity;
454
+ 'averageValue'?: m0.Quantity;
455
455
  /**
456
456
  * type represents whether the metric type is Utilization, Value, or AverageValue
457
457
  */
@@ -459,7 +459,7 @@ export type MetricTarget = {
459
459
  /**
460
460
  * value is the target value of the metric (as a quantity).
461
461
  */
462
- 'value'?: m2.Quantity;
462
+ 'value'?: m0.Quantity;
463
463
  };
464
464
  /**
465
465
  * MetricTargetType specifies the type of metric being targeted, and should be either
@@ -480,11 +480,11 @@ export type MetricValueStatus = {
480
480
  * averageValue is the current value of the average of the
481
481
  * metric across all relevant pods (as a quantity)
482
482
  */
483
- 'averageValue'?: m2.Quantity;
483
+ 'averageValue'?: m0.Quantity;
484
484
  /**
485
485
  * value is the current value of the metric (as a quantity).
486
486
  */
487
- 'value'?: m2.Quantity;
487
+ 'value'?: m0.Quantity;
488
488
  };
489
489
  /**
490
490
  * ObjectMetricSource indicates how to scale on a metric describing a
@@ -565,7 +565,7 @@ export type ResourceMetricSource = {
565
565
  /**
566
566
  * name is the name of the resource in question.
567
567
  */
568
- 'name': m0.ResourceName;
568
+ 'name': m2.ResourceName;
569
569
  /**
570
570
  * target specifies the target value for the given metric
571
571
  */
@@ -586,7 +586,7 @@ export type ResourceMetricStatus = {
586
586
  /**
587
587
  * name is the name of the resource in question.
588
588
  */
589
- 'name': m0.ResourceName;
589
+ 'name': m2.ResourceName;
590
590
  };
591
591
  /**
592
592
  * ScalingPolicySelect is used to specify which policy should be used while scaling in a certain direction
@@ -1,6 +1,6 @@
1
- import * as m1 from 'kubernetypes/api/batch/v1';
2
- import * as m2 from 'kubernetypes/api/core/v1';
3
- import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
1
+ import * as m2 from 'kubernetypes/api/batch/v1';
2
+ import * as m0 from 'kubernetypes/api/core/v1';
3
+ import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
4
4
  /**
5
5
  * ConcurrencyPolicy describes how the job will be handled.
6
6
  * Only one of the following concurrent policies may be specified.
@@ -11,12 +11,12 @@ export type ConcurrencyPolicy = 'Allow' | 'Forbid' | 'Replace' | (string & {});
11
11
  /**
12
12
  * CronJob represents the configuration of a single cron job.
13
13
  */
14
- export type CronJob = m0.TypeMeta<'batch/v1beta1', 'CronJob'> & {
14
+ export type CronJob = m1.TypeMeta<'batch/v1beta1', 'CronJob'> & {
15
15
  /**
16
16
  * Standard object's metadata.
17
17
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
18
18
  */
19
- 'metadata'?: m0.ObjectMeta;
19
+ 'metadata'?: m1.ObjectMeta;
20
20
  /**
21
21
  * Specification of the desired behavior of a cron job, including the schedule.
22
22
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -31,7 +31,7 @@ export type CronJob = m0.TypeMeta<'batch/v1beta1', 'CronJob'> & {
31
31
  /**
32
32
  * CronJobList is a collection of cron jobs.
33
33
  */
34
- export type CronJobList = m0.TypeMeta<'batch/v1beta1', 'CronJobList'> & {
34
+ export type CronJobList = m1.TypeMeta<'batch/v1beta1', 'CronJobList'> & {
35
35
  /**
36
36
  * items is the list of CronJobs.
37
37
  */
@@ -40,7 +40,7 @@ export type CronJobList = m0.TypeMeta<'batch/v1beta1', 'CronJobList'> & {
40
40
  * Standard list metadata.
41
41
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
42
42
  */
43
- 'metadata'?: m0.ListMeta;
43
+ 'metadata'?: m1.ListMeta;
44
44
  };
45
45
  /**
46
46
  * CronJobSpec describes how the job execution will look like and when it will actually run.
@@ -105,15 +105,15 @@ export type CronJobStatus = {
105
105
  /**
106
106
  * A list of pointers to currently running jobs.
107
107
  */
108
- 'active'?: m2.ObjectReference[];
108
+ 'active'?: m0.ObjectReference[];
109
109
  /**
110
110
  * Information when was the last time the job was successfully scheduled.
111
111
  */
112
- 'lastScheduleTime'?: m0.Time;
112
+ 'lastScheduleTime'?: m1.Time;
113
113
  /**
114
114
  * Information when was the last time the job successfully completed.
115
115
  */
116
- 'lastSuccessfulTime'?: m0.Time;
116
+ 'lastSuccessfulTime'?: m1.Time;
117
117
  };
118
118
  /**
119
119
  * JobTemplateSpec describes the data a Job should have when created from a template
@@ -123,10 +123,10 @@ export type JobTemplateSpec = {
123
123
  * Standard object's metadata of the jobs created from this template.
124
124
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
125
125
  */
126
- 'metadata'?: m0.ObjectMeta;
126
+ 'metadata'?: m1.ObjectMeta;
127
127
  /**
128
128
  * Specification of the desired behavior of the job.
129
129
  * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
130
130
  */
131
- 'spec'?: m1.JobSpec;
131
+ 'spec'?: m2.JobSpec;
132
132
  };
@@ -1,11 +1,11 @@
1
- import * as m0 from 'kubernetypes/api/core/v1';
2
- import * as m1 from 'kubernetypes/apimachinery/apis/meta/v1';
1
+ import * as m1 from 'kubernetypes/api/core/v1';
2
+ import * as m0 from 'kubernetypes/apimachinery/apis/meta/v1';
3
3
  import * as m2 from 'kubernetypes/apimachinery/types';
4
4
  /**
5
5
  * Describes a certificate signing request
6
6
  */
7
- export type CertificateSigningRequest = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'CertificateSigningRequest'> & {
8
- 'metadata'?: m1.ObjectMeta;
7
+ export type CertificateSigningRequest = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'CertificateSigningRequest'> & {
8
+ 'metadata'?: m0.ObjectMeta;
9
9
  /**
10
10
  * spec contains the certificate request, and is immutable after creation.
11
11
  * Only the request, signerName, expirationSeconds, and usages fields can be set on creation.
@@ -23,11 +23,11 @@ export type CertificateSigningRequestCondition = {
23
23
  * If unset, when a new condition type is added or an existing condition's status is changed,
24
24
  * the server defaults this to the current time.
25
25
  */
26
- 'lastTransitionTime'?: m1.Time;
26
+ 'lastTransitionTime'?: m0.Time;
27
27
  /**
28
28
  * timestamp for the last update to this condition
29
29
  */
30
- 'lastUpdateTime'?: m1.Time;
30
+ 'lastUpdateTime'?: m0.Time;
31
31
  /**
32
32
  * human readable message with details about the request state
33
33
  */
@@ -42,15 +42,15 @@ export type CertificateSigningRequestCondition = {
42
42
  * Defaults to "True".
43
43
  * If unset, should be treated as "True".
44
44
  */
45
- 'status'?: m0.ConditionStatus;
45
+ 'status'?: m1.ConditionStatus;
46
46
  /**
47
47
  * type of the condition. Known conditions include "Approved", "Denied", and "Failed".
48
48
  */
49
49
  'type': RequestConditionType;
50
50
  };
51
- export type CertificateSigningRequestList = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'CertificateSigningRequestList'> & {
51
+ export type CertificateSigningRequestList = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'CertificateSigningRequestList'> & {
52
52
  'items': CertificateSigningRequest[];
53
- 'metadata'?: m1.ListMeta;
53
+ 'metadata'?: m0.ListMeta;
54
54
  };
55
55
  /**
56
56
  * CertificateSigningRequestSpec contains the certificate request.
@@ -177,11 +177,11 @@ export type CertificateSigningRequestStatus = {
177
177
  * anchors for that signer. Admission control is used to enforce that only users
178
178
  * with permissions on the signer can create or modify the corresponding bundle.
179
179
  */
180
- export type ClusterTrustBundle = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'ClusterTrustBundle'> & {
180
+ export type ClusterTrustBundle = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'ClusterTrustBundle'> & {
181
181
  /**
182
182
  * metadata contains the object metadata.
183
183
  */
184
- 'metadata'?: m1.ObjectMeta;
184
+ 'metadata'?: m0.ObjectMeta;
185
185
  /**
186
186
  * spec contains the signer (if any) and trust anchors.
187
187
  */
@@ -190,7 +190,7 @@ export type ClusterTrustBundle = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'Clu
190
190
  /**
191
191
  * ClusterTrustBundleList is a collection of ClusterTrustBundle objects
192
192
  */
193
- export type ClusterTrustBundleList = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'ClusterTrustBundleList'> & {
193
+ export type ClusterTrustBundleList = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'ClusterTrustBundleList'> & {
194
194
  /**
195
195
  * items is a collection of ClusterTrustBundle objects
196
196
  */
@@ -198,7 +198,7 @@ export type ClusterTrustBundleList = m1.TypeMeta<'certificates.k8s.io/v1beta1',
198
198
  /**
199
199
  * metadata contains the list metadata.
200
200
  */
201
- 'metadata'?: m1.ListMeta;
201
+ 'metadata'?: m0.ListMeta;
202
202
  };
203
203
  /**
204
204
  * ClusterTrustBundleSpec contains the signer and trust anchors.
@@ -258,11 +258,11 @@ export type KeyUsage = 'any' | 'cert sign' | 'client auth' | 'code signing' | 'c
258
258
  *
259
259
  * Kubelets use this API to implement podCertificate projected volumes
260
260
  */
261
- export type PodCertificateRequest = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'PodCertificateRequest'> & {
261
+ export type PodCertificateRequest = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'PodCertificateRequest'> & {
262
262
  /**
263
263
  * metadata contains the object metadata.
264
264
  */
265
- 'metadata'?: m1.ObjectMeta;
265
+ 'metadata'?: m0.ObjectMeta;
266
266
  /**
267
267
  * spec contains the details about the certificate being requested.
268
268
  */
@@ -275,7 +275,7 @@ export type PodCertificateRequest = m1.TypeMeta<'certificates.k8s.io/v1beta1', '
275
275
  /**
276
276
  * PodCertificateRequestList is a collection of PodCertificateRequest objects
277
277
  */
278
- export type PodCertificateRequestList = m1.TypeMeta<'certificates.k8s.io/v1beta1', 'PodCertificateRequestList'> & {
278
+ export type PodCertificateRequestList = m0.TypeMeta<'certificates.k8s.io/v1beta1', 'PodCertificateRequestList'> & {
279
279
  /**
280
280
  * items is a collection of PodCertificateRequest objects
281
281
  */
@@ -283,7 +283,7 @@ export type PodCertificateRequestList = m1.TypeMeta<'certificates.k8s.io/v1beta1
283
283
  /**
284
284
  * metadata contains the list metadata.
285
285
  */
286
- 'metadata'?: m1.ListMeta;
286
+ 'metadata'?: m0.ListMeta;
287
287
  };
288
288
  /**
289
289
  * PodCertificateRequestSpec describes the certificate request. All fields are
@@ -408,7 +408,7 @@ export type PodCertificateRequestStatus = {
408
408
  * This field is only a hint. Kubelet may start refreshing before or after
409
409
  * this time if necessary.
410
410
  */
411
- 'beginRefreshAt'?: m1.Time;
411
+ 'beginRefreshAt'?: m0.Time;
412
412
  /**
413
413
  * certificateChain is populated with an issued certificate by the signer.
414
414
  * This field is set via the /status subresource. Once populated, this field
@@ -442,7 +442,7 @@ export type PodCertificateRequestStatus = {
442
442
  * If the request is denied with `Reason=UnsupportedKeyType`, the signer may
443
443
  * suggest a key type that will work in the message field.
444
444
  */
445
- 'conditions'?: m1.Condition[];
445
+ 'conditions'?: m0.Condition[];
446
446
  /**
447
447
  * notAfter is the time at which the certificate expires. The value must be
448
448
  * the same as the notAfter value in the leaf certificate in
@@ -450,7 +450,7 @@ export type PodCertificateRequestStatus = {
450
450
  * populated, it is immutable. The signer must set this field at the same
451
451
  * time it sets certificateChain.
452
452
  */
453
- 'notAfter'?: m1.Time;
453
+ 'notAfter'?: m0.Time;
454
454
  /**
455
455
  * notBefore is the time at which the certificate becomes valid. The value
456
456
  * must be the same as the notBefore value in the leaf certificate in
@@ -458,6 +458,6 @@ export type PodCertificateRequestStatus = {
458
458
  * populated, it is immutable. The signer must set this field at the same
459
459
  * time it sets certificateChain.
460
460
  */
461
- 'notBefore'?: m1.Time;
461
+ 'notBefore'?: m0.Time;
462
462
  };
463
463
  export type RequestConditionType = 'Approved' | 'Denied' | 'Failed' | (string & {});