Kubernetes Publisher
c04e419b6a
Update dependencies to v0.27.4 tag
kubernetes-1.27.4
v0.27.4
2023-07-19 22:42:57 +00:00
Kubernetes Publisher
860d25f20e
Merge pull request #118969 from champtar/automated-cherry-pick-of-#117791-upstream-release-1.27
...
Automated cherry pick of #117791 : update serial number to a valid non-zero number in ca
Kubernetes-commit: db247e1df34efd17a55a513f196bf53224489a49
2023-07-05 18:34:01 +00:00
Kubernetes Publisher
8d8e2bc8c9
Merge pull request #119086 from neolit123/automated-cherry-pick-of-#118150-origin-release-1.27
...
Automated cherry pick of #118150 origin release 1.27
Kubernetes-commit: 55872a8eb12e1621e72121b18c15fef1f54a76ff
2023-07-05 18:33:58 +00:00
Lubomir I. Ivanov
af4a748070
call ./hack/update-vendor.sh
...
Kubernetes-commit: 39a4cd1a083f0dff5ff3fc78063b64ad3c61099f
2023-07-05 07:47:00 +03:00
Kubernetes Publisher
22da8a58be
Merge pull request #118553 from puerco/bump-1.27-go1.20.5
...
[release-1.27] releng/go: Update images, deps and ver to Go 1.20.5
Kubernetes-commit: aae883e5fa7c681530b6eeed7d28050aaf84eef6
2023-06-12 17:49:55 +00:00
Adolfo García Veytia (Puerco)
81d8c785a4
update-vendor: update vendored go.sums
...
Ran hack/update-vendor.sh
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net >
Kubernetes-commit: e0a2a6efdd1ed709ca0edec61faa6bb51a0ce685
2023-06-08 00:09:03 -06:00
Min Ni
d96d0d8844
update serial number to a valid non-zero number in ca certificate
...
Kubernetes-commit: cd08820ba9a0d5f2f95e3c46e27d01ca046f7d2a
2023-05-08 16:39:35 -07:00
Kubernetes Publisher
015caa2eed
Merge pull request #117708 from Jefftree/automated-cherry-pick-of-#117705-upstream-release-1.27
...
Automated cherry pick of #117705 : Update kube-openapi to fix race
Kubernetes-commit: 7d93cc600f4c6dbd5c0b9e37ae7f351cfc59fde7
2023-05-02 17:54:10 +00:00
Jefftree
fb5347d849
Update kube-openapi to fix race
...
Kubernetes-commit: 86904a7c580d369edc60c5807ef1377d1ff647d2
2023-05-01 17:19:03 +00:00
Kubernetes Publisher
353c489f83
Merge pull request #117685 from ardaguclu/automated-cherry-pick-of-#117495-upstream-release-1.27
...
Automated cherry pick of #117495 : Use absolute path instead requestURI in openapiv3 discovery
Kubernetes-commit: 110415e329c4aabdff9fb4eed7a5d6aa064e7a04
2023-04-29 10:12:16 -07:00
Arda Güçlü
6ce3e7e915
Use absolute path instead requestURI in openapiv3 discovery
...
Currently, openapiv3 discovery uses requestURI to discover resources.
However, that does not work when the rest endpoint contains prefixes
(e.g. `http://localhost/test-endpoint/ `).
Because requestURI overwrites prefixes also in rest endpoint
(e.g. `http://localhost/openapiv3/apis/apps/v1 `).
Since `absPath` keeps the prefixes in the rest endpoint,
this PR changes to absPath instead requestURI.
Kubernetes-commit: ee1d7eb5d82f3b2a76afc57bc33bc7e08c34bf27
2023-04-20 09:53:28 +03:00
Kubernetes Publisher
aab9b0a45a
Merge pull request #117637 from seans3/automated-cherry-pick-of-#117571-origin-release-1.27
...
Automated cherry pick of #117571 : Refactors discovery content-type and helper functions
Kubernetes-commit: c766f936b7ada04e76c38671c30ceec6df1b5239
2023-04-27 10:30:48 +00:00
Sean Sullivan
a16d525506
Refactors discovery content-type and helper functions
...
Kubernetes-commit: 3ce0c108fe9587be2e5195ad872578877970a7a9
2023-04-24 17:40:07 -07:00
Kubernetes Publisher
559da627e8
Merge remote-tracking branch 'origin/master' into release-1.27
...
Kubernetes-commit: 0d6e44998fe1c0a21d0aba1327f55d60ae8a7c2d
2023-03-27 18:31:52 +00:00
Madhav Jivrajani
012beed4e0
.*: update vendor dir and cleanup
...
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com >
Kubernetes-commit: 63b5ca69f1f481b2b4b2ee967f5b8b7b58937211
2023-03-27 19:18:05 +05:30
Kubernetes Publisher
1517ffb8d3
Merge pull request #116623 from lavalamp/xfrmr
...
change where transformers are called
Kubernetes-commit: 76d351065e504e23b7962158ef0e9067b6bd96ed
2023-03-17 00:11:43 +00:00
Kubernetes Publisher
308e6b1055
Merge pull request #113218 from ahmedtd/kep-3257
...
Add certificates.k8s.io/v1alpha1 ClusterTrustBundle
Kubernetes-commit: a34e37c9963af5944435b736882bfcd1e81f7e09
2023-03-16 20:00:06 +00:00
Daniel Smith
c3b84f0438
Change where transformers are called.
...
Kubernetes-commit: e76dff38cf74c3c8ad9ed4d3bc6e3641d9b64565
2023-03-14 23:05:20 +00:00
Taahir Ahmed
4c5879adb0
ClusterTrustBundles: make update
...
Kubernetes-commit: 2e4b637bf8f304c5264b93cced659c2bcbb66733
2022-11-07 11:45:53 -08:00
Max Smythe
4666344cbc
Custom match criteria ( #116350 )
...
* Add custom match conditions for CEL admission
This PR is based off of, and dependent on the following PR:
https://github.com/kubernetes/kubernetes/pull/116261
Signed-off-by: Max Smythe <smythe@google.com >
* run `make update`
Signed-off-by: Max Smythe <smythe@google.com >
* Fix unit tests
Signed-off-by: Max Smythe <smythe@google.com >
* Fix unit tests
Signed-off-by: Max Smythe <smythe@google.com >
* Update compatibility test data
Signed-off-by: Max Smythe <smythe@google.com >
* Revert "Update compatibility test data"
This reverts commit 312ba7f9e74e0ec4a7ac1f07bf575479c608af28.
* Allow params during validation; make match conditions optional
Signed-off-by: Max Smythe <smythe@google.com >
* Add conditional ignoring of matcher CEL expression validation on update
Signed-off-by: Max Smythe <smythe@google.com >
* Run codegen
Signed-off-by: Max Smythe <smythe@google.com >
* Add more validation tests
Signed-off-by: Max Smythe <smythe@google.com >
* Short-circuit CEL matcher when no matchers specified
Signed-off-by: Max Smythe <smythe@google.com >
* Run codegen
Signed-off-by: Max Smythe <smythe@google.com >
* Address review comments
Signed-off-by: Max Smythe <smythe@google.com >
---------
Signed-off-by: Max Smythe <smythe@google.com >
Kubernetes-commit: e5fd204c33e90a7e8f5a0ee70242f1296a5ec7af
2023-03-16 04:07:18 +00:00
Igor Velichkovich
38589731da
Matchconditions admission webhooks alpha implementation for kep-3716 ( #116261 )
...
* api changes adding match conditions
* feature gate and registry strategy to drop fields
* matchConditions logic for admission webhooks
* feedback
* update test
* import order
* bears.com
* update fail policy ignore behavior
* update docs and matcher to hold fail policy as non-pointer
* update matcher error aggregation, fix early fail failpolicy ignore, update docs
* final cleanup
* openapi gen
Kubernetes-commit: 5e5b3029f3bbfc93c3569f07ad300a5c6057fc58
2023-03-15 06:19:12 +00:00
Kubernetes Publisher
445660b561
Merge pull request #116332 from klueska/extend-resourceclaimstatus
...
Update resource.AllocationResult with a slice of ResourceHandlers
Kubernetes-commit: ae36991498282514da3fe771b0dd9de66b991c86
2023-03-15 06:19:06 +00:00
Kubernetes Publisher
e023fb8815
Merge pull request #116119 from vinaykul/restart-free-pod-vertical-scaling-fixes
...
Restructure resize policy naming and set default resize policy values
Kubernetes-commit: 9053b5dc2c8e0b977e759b9f076d1a52bafabbb7
2023-03-15 06:18:59 +00:00
Kubernetes Publisher
9ff2627505
Merge pull request #115075 from aojea/ipaddress
...
IPAddress allocator
Kubernetes-commit: f44d561c1f8c327bdf2ff3bff175bd10d161454c
2023-03-15 06:18:52 +00:00
Kubernetes Publisher
84ae514115
Merge pull request #116539 from pohly/ginkgo-gomega-update
...
dependencies: ginkgo v2.9.1, gomega v1.27.3
Kubernetes-commit: f22504a9bafd5e34d86853a816d10578376aadc2
2023-03-15 06:18:45 +00:00
Kubernetes Publisher
ef07195878
Merge pull request #114242 from austince/feat/per-queue-metrics
...
Allow setting per-workqueue metrics providers
Kubernetes-commit: 98b1980a42ad197404d65a5022a32dcdc2087784
2023-03-15 06:18:38 +00:00
Kubernetes Publisher
23d016c390
Merge pull request #107826 from smarterclayton/context_wait
...
wait: Introduce new methods that allow detection of context cancellation
Kubernetes-commit: 5469b170fe8717cb9fae8f12498cd1afd5586891
2023-03-15 06:18:32 +00:00
Kubernetes Publisher
f3dc70cf10
Merge pull request #116603 from seans3/discovery-resilience
...
Aggregated discovery client resilient to nil GVK in response
Kubernetes-commit: a9fd6dfc736da314096f1fda24171119e58017c6
2023-03-15 06:18:27 +00:00
Kubernetes Publisher
48d97c09db
Merge pull request #116556 from pohly/dra-podschedulingcontext
...
dra: PodScheduling -> PodSchedulingContext
Kubernetes-commit: fbfc887a097b2f7cddd065deacbff03abf0bfef6
2023-03-15 06:18:23 +00:00
Kubernetes Publisher
2a7ba94880
Merge pull request #112334 from dgrisonnet/fix-eventseries-count
...
Fix EventSeries starting count discrepancy
Kubernetes-commit: 689fc37dd2f92ca61f4f2405186cb7e097be3ab1
2023-03-15 06:18:17 +00:00
Kubernetes Publisher
3cafc13f5d
Merge pull request #116299 from pohly/dra-v1alpha2
...
api: resource.k8s.io v1alpha1 -> v1alpha2
Kubernetes-commit: 0e06be57a65792ad5744b5ddf6abe95dd20ac773
2023-03-15 06:18:13 +00:00
Sean Sullivan
2bd557faec
Aggregated discovery resilient to nil GVK
...
Kubernetes-commit: 26bf8a7ceb51bac357d8a02fd3e62b84363716db
2023-03-14 17:59:19 +00:00
Patrick Ohly
76262aa83e
api: generated files for PodSchedulingContext
...
Kubernetes-commit: 2b8a4e809710f1b5eb3846a2964431a0266f287e
2023-03-13 23:16:18 +01:00
Patrick Ohly
a952148a50
dependencies: ginkgo v2.9.1, gomega v1.27.4
...
They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.
"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
Kubernetes-commit: fe59e091eb3331db54cff2351f16eabfe0cb681d
2023-03-13 16:06:20 +01:00
Antonio Ojea
568393e257
make update
...
Change-Id: I19e12ca05d977dca63043cb07ecf8a90e0e525c5
Kubernetes-commit: ba42ed9a49345f8a182829e72c7013ea3ff0d224
2023-03-12 13:50:02 +00:00
austin ce
21b4553e44
Allow custom metric provider for retry metrics
...
Kubernetes-commit: a60624ffbc265d61b35cab16ea9ded485909f3ed
2023-03-10 17:48:10 -05:00
austin ce
66fa9d308f
Unify queue constructors, deprecate current constructors
...
Kubernetes-commit: fea83b78243c77e81b91f3f0a812979809aeacaf
2023-03-10 17:46:26 -05:00
Clayton Coleman
250fc3d6b4
wait: Update tests to reference the constant error
...
The structure of the error is changing, and we don't guarantee
reflect.DeepEqual(...) will remain true for ErrWaitTimeout currently.
Kubernetes-commit: 8d4004bbc77d012642db97e09238f4f65a926bca
2023-03-10 11:02:59 -06:00
Kevin Klues
ff60d1bd90
Update generated code for resource.k8s.io/v1alpha2
...
Signed-off-by: Kevin Klues <kklues@nvidia.com >
Kubernetes-commit: 452f345c472a206b148bbe7e4e27f772841dc363
2023-03-07 11:35:08 +00:00
Patrick Ohly
324f43b974
api: resource.k8s.io v1alpha1 -> v1alpha2
...
For Kubernetes 1.27, we intend to make some breaking API changes:
- rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283 )
- extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802 )
We need to switch from v1alpha1 to v1alpha2 for that.
Kubernetes-commit: 29941b8d3e7928244f48b05bf5bd453221fe7a9d
2023-03-06 12:43:58 +01:00
Kubernetes Publisher
362ffe4fcd
Merge pull request #115668 from jiahuif-forks/feature/validating-admission-policy/type-system
...
Type System for ValidatingAdmissionPolicy
Kubernetes-commit: 152876a3eb9c6211c48bb159c87e2bf834e4eedc
2023-03-15 06:18:05 +00:00
Jiahui Feng
8dcee0c630
generated: ./hack/update-codegen.sh && ./hack/update-openapi-spec.sh
...
Kubernetes-commit: deb467261ca23ca5decfdb6b67bef3591d4cb842
2023-03-13 19:44:28 -07:00
Kubernetes Publisher
b5e4a5a9c3
Merge pull request #116397 from jiahuif-forks/feature/validating-admission-policy/message-expression
...
MessageExpression for ValidatingAdmissionPolicy
Kubernetes-commit: 6b3e2b7873f8518b95f5b09fa04f5f316669c7b2
2023-03-14 05:26:20 +00:00
Kubernetes Publisher
471f66fb10
Merge pull request #116490 from tallclair/docs-urls2
...
Fix broken links in API documentation
Kubernetes-commit: 110541b3d72e32e0016061cbaaecb4db9683e1eb
2023-03-14 01:10:18 +00:00
Kubernetes Publisher
e4aa1125e3
Merge pull request #116542 from enj/enj/f/go1.20
...
Explicit bump to go 1.20
Kubernetes-commit: de9ce03f19e8b1ace1e79fae17119820c4232b67
2023-03-13 21:15:40 +00:00
Kubernetes Publisher
b14244a3db
Merge pull request #116477 from twz123/synctrack-64bit-alignment
...
Properly align synctrack.SingleFileTracker struct
Kubernetes-commit: 077ca3b7367d0761eaee833dffb15e7eed73fa2a
2023-03-13 21:15:38 +00:00
Monis Khan
e0b969df98
Explicit bump to go 1.20
...
Signed-off-by: Monis Khan <mok@microsoft.com >
Kubernetes-commit: ba471884fba92246e1547ce4a27f9d5e735afc60
2023-03-13 12:47:36 -04:00
Tom Wieczorek
9e8c663097
Properly align synctrack.SingleFileTracker struct
...
count is used with atomic operations so it must be 64-bit aligned,
otherwise atomic operations will panic. Having it at the top of the
struct will guarantee that, even on 32-bit arches.
This fixes panics like that one observed in kube-apiserver:
E0310 13:48:47.476124 676 runtime.go:77] Observed a panic: unaligned 64-bit atomic operation
goroutine 141 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic({0x2482378, 0x2db2ff8})
vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:75 +0x94
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0x0})
vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:49 +0x78
panic({0x2482378, 0x2db2ff8})
/usr/local/go/src/runtime/panic.go:884 +0x218
runtime/internal/atomic.panicUnaligned()
/usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Load64(0x685f794)
/usr/local/go/src/runtime/internal/atomic/atomic_arm.s:280 +0x14
k8s.io/client-go/tools/cache/synctrack.(*SingleFileTracker).HasSynced(0x685f790)
vendor/k8s.io/client-go/tools/cache/synctrack/synctrack.go:115 +0x3c
k8s.io/client-go/tools/cache.(*processorListener).HasSynced(0x6013e60)
vendor/k8s.io/client-go/tools/cache/shared_informer.go:907 +0x20
k8s.io/client-go/tools/cache.WaitForCacheSync.func1()
vendor/k8s.io/client-go/tools/cache/shared_informer.go:332 +0x50
k8s.io/apimachinery/pkg/util/wait.ConditionFunc.WithContext.func1({0x2dcf274, 0x607c600})
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:222 +0x1c
k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext({0x2dcf274, 0x607c600}, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:262 +0x64
k8s.io/apimachinery/pkg/util/wait.waitForWithContext({0x2dcf274, 0x607c600}, 0x64a6060, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:649 +0x11c
k8s.io/apimachinery/pkg/util/wait.poll({0x2dcf274, 0x607c600}, 0x1, 0x64a6060, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:600 +0xc4
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext({0x2dcf274, 0x607c600}, 0x5f5e100, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:551 +0x60
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntil(0x5f5e100, 0x6298020, 0x607c600)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:542 +0x48
k8s.io/client-go/tools/cache.WaitForCacheSync(0x607c600, {0x6298000, 0x3, 0x3})
vendor/k8s.io/client-go/tools/cache/shared_informer.go:329 +0x80
k8s.io/client-go/tools/cache.WaitForNamedCacheSync({0x283c5e1, 0xf}, 0x607c600, {0x6298000, 0x3, 0x3})
vendor/k8s.io/client-go/tools/cache/shared_informer.go:316 +0xe8
created by k8s.io/kubernetes/plugin/pkg/auth/authorizer/node.AddGraphEventHandlers
plugin/pkg/auth/authorizer/node/graph_populator.go:65 +0x5b0
panic: unaligned 64-bit atomic operation [recovered]
panic: unaligned 64-bit atomic operation
goroutine 141 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0x0})
vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:56 +0xf4
panic({0x2482378, 0x2db2ff8})
/usr/local/go/src/runtime/panic.go:884 +0x218
runtime/internal/atomic.panicUnaligned()
/usr/local/go/src/runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Load64(0x685f794)
/usr/local/go/src/runtime/internal/atomic/atomic_arm.s:280 +0x14
k8s.io/client-go/tools/cache/synctrack.(*SingleFileTracker).HasSynced(0x685f790)
vendor/k8s.io/client-go/tools/cache/synctrack/synctrack.go:115 +0x3c
k8s.io/client-go/tools/cache.(*processorListener).HasSynced(0x6013e60)
vendor/k8s.io/client-go/tools/cache/shared_informer.go:907 +0x20
k8s.io/client-go/tools/cache.WaitForCacheSync.func1()
vendor/k8s.io/client-go/tools/cache/shared_informer.go:332 +0x50
k8s.io/apimachinery/pkg/util/wait.ConditionFunc.WithContext.func1({0x2dcf274, 0x607c600})
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:222 +0x1c
k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext({0x2dcf274, 0x607c600}, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:262 +0x64
k8s.io/apimachinery/pkg/util/wait.waitForWithContext({0x2dcf274, 0x607c600}, 0x64a6060, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:649 +0x11c
k8s.io/apimachinery/pkg/util/wait.poll({0x2dcf274, 0x607c600}, 0x1, 0x64a6060, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:600 +0xc4
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext({0x2dcf274, 0x607c600}, 0x5f5e100, 0x6382050)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:551 +0x60
k8s.io/apimachinery/pkg/util/wait.PollImmediateUntil(0x5f5e100, 0x6298020, 0x607c600)
vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:542 +0x48
k8s.io/client-go/tools/cache.WaitForCacheSync(0x607c600, {0x6298000, 0x3, 0x3})
vendor/k8s.io/client-go/tools/cache/shared_informer.go:329 +0x80
k8s.io/client-go/tools/cache.WaitForNamedCacheSync({0x283c5e1, 0xf}, 0x607c600, {0x6298000, 0x3, 0x3})
vendor/k8s.io/client-go/tools/cache/shared_informer.go:316 +0xe8
created by k8s.io/kubernetes/plugin/pkg/auth/authorizer/node.AddGraphEventHandlers
plugin/pkg/auth/authorizer/node/graph_populator.go:65 +0x5b0
Kubernetes-commit: ffcf653e0666366e6241c99d9418e830840afa0f
2023-03-13 08:37:13 +01:00
Kubernetes Publisher
012954e4d5
Merge pull request #116450 from vinaykul/restart-free-pod-vertical-scaling-api
...
Rename ContainerStatus.ResourcesAllocated to ContainerStatus.AllocatedResources
Kubernetes-commit: 3c6e419cc3e364e0fce874e6c51ca058f1b9daab
2023-03-13 01:21:52 +00:00
Tim Allclair
b8c2b4bd8c
Fix broken API docs URLs
...
Kubernetes-commit: ea974280dc9948e31d426ee6366abff0957a5f82
2023-03-10 19:18:06 -08:00