Kubernetes Prow Robot
9660e5c4cd
Merge pull request #127360 from knight42/feat/split-stdout-stderr-server-side
...
API: add a new `Stream` field to `PodLogOptions`
2024-11-07 19:44:45 +00:00
Kubernetes Prow Robot
ef37cb503b
Merge pull request #128634 from thockin/remove_PodHostIPs_gate_for_1.32
...
Remove PodHostIPs feature gates
2024-11-07 13:47:54 +00:00
Lan Liang
6e5a3cde50
Remove PodHostIPs feature gates.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-11-06 23:10:36 -08:00
Kubernetes Prow Robot
6cc3570466
Merge pull request #128190 from HarshalNeelkamal/external-jwt
...
Add plugin and key-cache for ExternalJWTSigner integration
2024-11-07 06:29:45 +00:00
Jian Zeng
4193824215
chore: update generated code
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-07 13:52:16 +08:00
Jian Zeng
0793f6577f
feat: update conversion helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-07 13:52:01 +08:00
Kubernetes Prow Robot
afc204104c
Merge pull request #128601 from pohly/dra-api-opaque-parameters-length-limit
...
DRA API: opaque parameters length limit
2024-11-07 03:53:35 +00:00
Harshal Neelkamal
6fdacf0411
Add plugin and key-cache for ExternalJWTSigner integration
2024-11-07 03:16:23 +00:00
Kubernetes Prow Robot
dff657a07c
Merge pull request #128623 from AnishShah/ippr-windows
...
[FG:InPlacePodVerticalScaling] Drop InPlacePodVerticalScaling support in windows
2024-11-07 00:25:43 +00:00
Kubernetes Prow Robot
fa0979c15f
Merge pull request #124074 from carlory/clean-100001
...
fix description for PersistentVolumeSource and VolumeSource
2024-11-06 22:07:29 +00:00
Anish Shah
207842d3e0
drop InPlacePodVerticalScaling support in windows
2024-11-06 12:57:55 -08:00
Kubernetes Prow Robot
96250d4411
Merge pull request #124918 from SergeyKanzhelev/commentIgnoringBadStatuses
...
added a comment that statuses lists are not being validated
2024-11-06 20:09:29 +00:00
Patrick Ohly
446f20aa3e
DRA API: add maximum length of opaque parameters
...
This had been left out unintentionally earlier. Because theoretically there
might now be existing objects with parameters that are larger than whatever
limit gets enforced now, the limit only gets checked when parameters get
created or modified.
This is similar to the validation of CEL expressions and for consistency, the
same 10 Ki limit as for those is chosen.
Because the limit is not enforced for stored parameters, it can be increased in
the future, with the caveat that users who need larger parameters then depend
on the newer Kubernetes release with a higher limit. Lowering the limit is
harder because creating deployments that worked in older Kubernetes will not
work anymore with newer Kubernetes.
2024-11-06 17:29:51 +01:00
Jian Zeng
b9228836e1
feat: update validation helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 21:27:12 +08:00
Jian Zeng
7660ce9a7e
feat: update conversion helpers
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 20:17:29 +08:00
Jian Zeng
82c6296a95
feat(api): add field stream to PodLogOptions
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com >
2024-11-06 20:17:29 +08:00
Patrick Ohly
30f5282656
DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value
...
Based on review
feedback (https://github.com/kubernetes/kubernetes/pull/127511#discussion_r1823521172 ).
2024-11-06 13:03:20 +01:00
Patrick Ohly
81fd64256c
DRA API: use DeviceCapacity struct instead of plain Quantity
...
This enables a future extension where capacity of a single device gets consumed
by different claims. The semantic without any additional fields is the same as
before: a capacity cannot be split up and is only an attribute of a device.
Because its semantically the same as before, two-way conversion to v1alpha3 is
possible.
2024-11-06 13:03:19 +01:00
Patrick Ohly
142319bd92
DRA API: use v1beta1 as storage version
...
This is meant to make it easier to remove the v1alpha3 because it won't be used
in clusters that started with DRA as beta in Kubernetes 1.32 when all clients
support v1beta1.
2024-11-06 13:03:19 +01:00
Patrick Ohly
2e64c72249
DRA API: register v1beta1
...
This is the minimal set of changes that are needed to make the new version
usable. The storage version is still v1alpha3. More changes will follow.
2024-11-06 13:03:18 +01:00
Patrick Ohly
d685064ff7
DRA API: search/replace v1alpha3 -> v1beta1
2024-11-06 13:03:18 +01:00
Patrick Ohly
f1e5616f05
DRA API: verbatim copy of v1alpha3 -> v1beta1
2024-11-06 13:03:18 +01:00
Patrick Ohly
99acb67c68
DRA API: enhance validation testing
...
The line coverage is now at 98.5% and several more corner cases are
covered. The remaining lines are hard or impossible to reach.
The actual validation is the same as before, with some small tweaks to the
generated errors.
When failures are not as expected, it is useful to show what the expected and
actual failures look like to a user. Perhaps even better would be to put the
expected texts into the test files instead of the error structs. That would
be easier to review and shorter.
2024-11-06 13:03:18 +01:00
Patrick Ohly
51d5992335
DRA API: fix some comments
...
Wording in one case was wrong. The tombstone comment should use
the same field definition as before the removal.
2024-11-06 11:05:05 +01:00
Kubernetes Prow Robot
648717cc74
Merge pull request #128266 from AnishShah/resize-subresource
...
[FG:InPlacePodVerticalScaling] Introduce /resize subresource to request pod resource resizing
2024-11-06 06:59:29 +00:00
Kubernetes Prow Robot
a50b4e52a9
Merge pull request #128553 from thockin/master
...
Validation: merge TooLong and TooLongMaxLen
2024-11-06 04:19:43 +00:00
carlory
7cb4a1f144
fix description for PersistentVolumeSource and VolumeSource
2024-11-06 10:51:04 +08:00
Anish Shah
332d794559
remove redundant validation check for pod resize
2024-11-06 01:33:15 +00:00
Anish Shah
832d7f7dc2
apply feedback
2024-11-06 01:33:15 +00:00
Anish Shah
0a80c5ecb7
better variable names
2024-11-06 01:33:15 +00:00
Anish Shah
7ac302b47a
test: cleanup validation tests
2024-11-06 01:33:15 +00:00
Anish Shah
ce0f4597d3
fix error message for pod resize validation failure
2024-11-06 01:33:14 +00:00
Anish Shah
2bf1f2349c
validate resize request
...
We validate resize request by ensuring that pod QoS is unchanged and
only cpu and memory resources and resize policies are mutated.
2024-11-06 01:33:14 +00:00
Tim Hockin
c8eeb486f4
Call-site comments: the "" arg to TooLong is unused
2024-11-05 15:10:24 -08:00
Tim Hockin
8a7af90300
Clarify that value arg to field.TooLong is unused
2024-11-05 15:10:23 -08:00
Tim Hockin
4d0e1c8fd4
Kill TooLongMaxLength() in favor of TooLong()
2024-11-05 15:10:22 -08:00
Kubernetes Prow Robot
2d6c8a129d
Merge pull request #127134 from jpbetz/mutating-admission
...
KEP-3962: MutatingAdmissionPolicy Alpha
2024-11-05 17:31:38 +00:00
Kubernetes Prow Robot
bc79d3ba87
Merge pull request #128396 from ritazh/deprecate-EnforceMountableSecretsAnnotation
...
deprecate EnforceMountableSecretsAnnotation in 1.32
2024-11-05 06:07:40 +00:00
Joe Betz
0dc08eded9
Reorganize and expand unit test coverage
...
Also apply reviewer feedback
2024-11-04 21:41:33 -05:00
Joe Betz
fe3a7f5291
generate code
2024-11-04 21:40:47 -05:00
Joe Betz
3a1733f302
Add MutatingAdmissionPolicy API
...
This is closely aligned with ValidatingAdmissionPolicy
except that instead of validations that can fail with
messages, there are mutations, which can be defined
either with as an ApplyConfiguration or JSONPatch.
Co-authored-by: cici37 <cicih@google.com >
2024-11-04 21:40:38 -05:00
Kubernetes Prow Robot
5572688cef
Merge pull request #128342 from gnufied/recovery-expansion-beta
...
Move RecoverVolumeExpansionFailure feature to beta
2024-11-04 23:15:36 +00:00
Kubernetes Prow Robot
97c79df18f
Merge pull request #127981 from jsafrane/selinux-changepolicy
...
1710: Implement SELinuxChangePolicy
2024-11-04 22:09:29 +00:00
Rita Zhang
e7cdc59555
deprecate EnforceMountableSecretsAnnotation in 1.32
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com >
2024-11-04 13:13:32 -08:00
Kubernetes Prow Robot
6a1a6fd85f
Merge pull request #126894 from carlory/ZeroLimitedNominalConcurrencyShares
...
remove generally available feature-gate ZeroLimitedNominalConcurrencyShares
2024-11-04 17:19:29 +00:00
Sergey Kanzhelev
01851b89f4
added a comment that statuses lists are not being validated
2024-11-03 06:28:42 +00:00
Kubernetes Prow Robot
6bc0768c62
Merge pull request #127744 from carlory/fix-126662
...
Tighten validation on the qosClass field of pod status
2024-11-01 22:33:27 +00:00
Jan Safranek
6ca7b959e4
Add SELinuxChangePolicy validation
2024-11-01 12:46:34 +01:00
Jan Safranek
3867cb40ad
Regenerated API
2024-11-01 12:45:56 +01:00
Jan Safranek
c73308e90a
Introduce SELinuxChangePolicy
...
Feature gate + the API
2024-11-01 12:45:56 +01:00