Amine
eb4063f0ce
Add cases to tests AdmissionWebhook
MatchConditions size limit ( #119404 )
2023-07-25 15:36:19 -07:00
Amine
ef4907eddd
Add e2e tests for admission webhooks MatchCondition fields ( #118319 )
...
* Add e2e tests for admission webhooks MatchCondition fields
Signed-off-by: Amine Hilaly <hilalyamine@gmail.com>
* improve naming to distinguish tests
* adding e2e for mutating webhooks and match conditions
* Use `ginkgo.It` instead of `framework.ConformaceIt` and cleanup
resrources after creation
* Enable AdmissionWebhookMatchConditions feature
* Tag only matchcondition tests
* Improve expected error message for denied requests.
* Rename `onlyAllowLeaseObjectMatchConditions` to
`excludeLeasesMatchConditions`
* remove [Alpha] tag from AdmissionWebhookMatchConditions tests
* Using `gomega.Expect` instead of `framworkfail`
* Remove [Feature:AdmissionWebhookMatchConditions] tag
Signed-off-by: Amine <hilalyamine@gmail.com>
* Improve e2e names to specify whether it's using Validating or Mutating admission webhooks
---------
Signed-off-by: Amine Hilaly <hilalyamine@gmail.com>
Signed-off-by: Amine <hilalyamine@gmail.com>
2023-07-25 14:02:17 -07:00
Kubernetes Prow Robot
cacc6e751b
Merge pull request #119531 from ritazh/kmsv2-test-enablement-restart
...
kmsv2 test feature enablement disablement and restart
2023-07-25 12:03:55 -07:00
Kubernetes Prow Robot
86b44a3222
Merge pull request #119564 from logicalhan/update-docs
...
update documentation with descriptions
2023-07-25 10:00:07 -07:00
Rita Zhang
67769438e1
kmsv2 test feature enablement disablement and restart
...
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
2023-07-25 09:50:59 -07:00
Han Kang
18a7025383
update documentation with descriptions
2023-07-25 08:57:54 -07:00
Cici Huang
7e0a9a7f4e
Use statusReason for reason under x-kubernetes-validations ( #119544 )
...
* Change reason field format
* Auto update
* Address comments
* Auto update
* Update the test
2023-07-24 17:56:03 -07:00
Kubernetes Prow Robot
b53830590f
Merge pull request #119409 from alexzielenski/apiserver/policy/vap-tests
...
Add test cases for ValidatingAdmissionPolicy
2023-07-24 15:12:13 -07:00
Kubernetes Prow Robot
33b63f5715
Merge pull request #119543 from jpbetz/fix-xvalidations-flake
...
Treat empty string as nil in fuzzer for CEL Reason field
2023-07-24 14:10:12 -07:00
Kubernetes Prow Robot
6e879bbaa8
Merge pull request #119542 from liggitt/test-import
...
Fix non-test code relying on test-code
2023-07-24 11:04:13 -07:00
Alexander Zielenski
3b9af47118
add admission policy integration test all resources
...
duplicates a lot of existing webhook integration test code
2023-07-24 10:54:54 -07:00
Joe Betz
22bf29ad22
Treat empty string as nil in fuzzer for CEL Reason field
2023-07-24 12:44:25 -04:00
Jordan Liggitt
a164005cc0
Fix non-test code relying on test-code
2023-07-24 11:37:57 -04:00
Alexander Zielenski
e1b0bc3d0a
bugfix: use matched resource for AdmissionRequest.resource, not the resource it was converted from
...
use existing admission request for audit annotation eval
populate matchResource in empty rules case
2023-07-24 07:46:11 -07:00
Kubernetes Prow Robot
d25c0a1bdb
Merge pull request #119486 from pacoxu/swap-fix
...
do not touch swap for cgroup v1 if not available
2023-07-23 19:54:10 -07:00
Alexander Zielenski
5e2e8c8064
bump validatingadmissionpolicy alpha->beta
2023-07-21 18:14:50 -07:00
Kubernetes Prow Robot
d0814fa476
Merge pull request #119513 from borg-land/add-node-env
...
Add node-env and instance-type flags to node-e2e tests
2023-07-21 17:44:19 -07:00
Kubernetes Prow Robot
18f8cb8398
Merge pull request #118644 from alexzielenski/apiserver/policy/namespaceParamRef
...
KEP-3488: Promote ValidatingAdmissionPolicy to Beta
2023-07-21 17:44:08 -07:00
Kubernetes Prow Robot
773a6b1e46
Merge pull request #118828 from enj/enj/f/kms_v2_hkdf_expand
...
kmsv2: KDF based nonce extension
2023-07-21 16:10:19 -07:00
Kubernetes Prow Robot
f3a070f9c6
Merge pull request #116469 from RomanBednar/pv-phase-transition-time
...
PersistentVolume last phase transition time
2023-07-21 16:10:07 -07:00
upodroid
1c99f9591b
add node-env and instance-type flags to node-e2e tests
2023-07-21 21:46:37 +00:00
Alexander Zielenski
d647958744
update codegen
2023-07-21 13:56:23 -07:00
Alexander Zielenski
ef8670c946
refactor: replace usage of v1alpha1 with v1beta1
...
v1alpha -> v1beta
fill in DenyAction where there is no ParameterNotFoundAction
2023-07-21 13:41:24 -07:00
Kubernetes Prow Robot
5f380d5be2
Merge pull request #119510 from jpbetz/fix-mutation
...
Fix XValidations deepcopy to copy contents of nested pointers
2023-07-21 13:06:08 -07:00
Roman Bednar
294f5c9a42
make update
2023-07-21 21:39:24 +02:00
Roman Bednar
ae185e9118
e2e: test LastPhaseTransitionTime field when binding PV
2023-07-21 21:39:23 +02:00
Roman Bednar
a9c3444a47
test: add coverage for pv status update and create strategy
2023-07-21 21:39:16 +02:00
Monis Khan
bf49c727ba
kmsv2: KDF based nonce extension
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-07-21 15:25:52 -04:00
Roman Bednar
aa65bab426
implement pv last phase transition time
2023-07-21 20:42:25 +02:00
Kubernetes Prow Robot
5e8dfe5d8b
Merge pull request #119453 from cici37/addTest
...
Refactor jsonpath parser and add tests
2023-07-21 11:34:07 -07:00
Joe Betz
c97eb2b5cb
Fix XValidations deepcopy to copy contents of nested pointers
2023-07-21 13:55:23 -04:00
Kubernetes Release Robot
76eefd3a01
CHANGELOG: Update directory for v1.28.0-beta.0 release
2023-07-21 16:37:51 +00:00
Kubernetes Prow Robot
a30f6b7922
Merge pull request #119506 from mimowo/fix-job-controller-flaky-test
...
Fix the flaky TestJobApiBackoffReset test
2023-07-21 09:30:07 -07:00
Roman Bednar
1b4de065df
add LastPhaseTransitionTime field to PersistentVolume
2023-07-21 17:19:11 +02:00
Roman Bednar
5310dd7ff5
add PersistentVolumeLastPhaseTransitionTime feature gate
2023-07-21 17:19:11 +02:00
Roman Bednar
a31fee98f0
rename function for dropping disabled fields
...
The function should indicate it is specific for dropping spec fields.
2023-07-21 17:19:11 +02:00
Kubernetes Prow Robot
4e8908d566
Merge pull request #117015 from kannon92/job-fix-replacement-after-deletion
...
Job: create replacement pods only after terminated
2023-07-21 06:46:09 -07:00
Michal Wozniak
dbea279112
Fix the flaky TestJobApiBackoffReset test
2023-07-21 14:45:04 +02:00
Kubernetes Prow Robot
f5130e4387
Merge pull request #119484 from logicalhan/update-docs
...
update documented metrics
2023-07-21 04:32:06 -07:00
Paco Xu
8f35fceae3
update vendor to use containerd cgroups
2023-07-21 13:28:17 +08:00
Paco Xu
c4bf42199a
do not touch swap for cgroup v1 if swap not enabled
2023-07-21 13:27:50 +08:00
Kubernetes Prow Robot
4457f85eb3
Merge pull request #119473 from gjkim42/fix-e2e-node-to-use-pod-restartpolicy-correctly
...
node_e2e: Fix `createStaticSystemNodeCriticalPod`'s invalid spec
2023-07-20 18:28:07 -07:00
kannon92
74fcf3e766
implementation of PodReplacementPolicy kep in the job controller
2023-07-21 00:44:53 +00:00
Han Kang
cb6d7fbe66
update documented metrics
2023-07-20 16:05:38 -07:00
Cici Huang
f50e74206e
Address comment
2023-07-20 21:36:44 +00:00
Cici Huang
c46ffc2b42
Refactor jsonpath parser and add tests.
...
Co-authored-by: Joe Betz <jpbetz@google.com>
2023-07-20 20:40:11 +00:00
Alexander Zielenski
b3b775baa5
test: adjust tests for v1beta1 validatingadmissionpolicy
2023-07-20 13:24:09 -07:00
Alexander Zielenski
88becfc0ba
api: add v1beta1 ValidatingAdmissionPolicy/Binding types and storage
2023-07-20 13:24:09 -07:00
Kubernetes Prow Robot
5766947ab8
Merge pull request #119437 from serathius/etcd-semantics
...
Fix the semantic meaning of etcd server within component statuses and metrics.
2023-07-20 13:18:22 -07:00
Kubernetes Prow Robot
8a053c700a
Merge pull request #119215 from alexzielenski/apiserver/policy/namespaceParamRef-alpha
...
KEP-3488: Per namespace policy params
2023-07-20 13:18:10 -07:00