Commit Graph

20103 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f025a96d2f Merge pull request #122728 from RomanBednar/pv-phase-transition-time-doc-fix
Remove alpha reference from PersistentVolumeStatus.lastPhaseTransitionTime docs
2024-01-24 19:51:51 +01:00
Kubernetes Prow Robot
fb1aea9a28 Merge pull request #120631 from liyuerich/ptrderef
Drop deprecated pointer package
2024-01-24 19:51:24 +01:00
Kubernetes Prow Robot
7ff2deceb1 Merge pull request #122937 from dims/remove-vmware-cloud-provider
Drop in-tree cloud provider for vsphere
2024-01-24 18:46:21 +01:00
Kubernetes Prow Robot
b37c609b90 Merge pull request #122276 from pohly/dra-patch-reserved-for
dra: enable adding ReservedFor entries through strategic-merge-patch
2024-01-24 18:46:09 +01:00
liyuerich
e490439262 drop deprecated pointer package
Signed-off-by: liyuerich <yue.li@daocloud.io>
2024-01-24 19:44:07 +08:00
Kubernetes Prow Robot
a1ffdedf78 Merge pull request #119398 from IvoGoman/feat/clientconfig-override-raw
k8s.io/client-go: add ClientConfig option to override raw config
2024-01-24 02:12:19 +01:00
Davanum Srinivas
65d67101e7 Drop vsphere cloud provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-01-23 19:57:01 -05:00
Kubernetes Prow Robot
e50efe5b9d Merge pull request #122915 from MikeSpreitzer/note-codegen-dirs
Add note about directory structure in code-generator
2024-01-23 23:52:09 +01:00
Kubernetes Prow Robot
7bb00356f0 Merge pull request #122857 from nilo19/chore/cleanup-azure
chore: Cleanup in-tree credential provider azure and cloud provider a…
2024-01-23 21:31:11 +01:00
Kubernetes Prow Robot
31197eba75 Merge pull request #122518 from cici37/celEnv29
Update env version, add cost for previous added func, add tests, etc.
2024-01-23 21:31:04 +01:00
Kubernetes Prow Robot
cf2003fde4 Merge pull request #122618 from ivanvc/improve-describe-job-output
describer: improve job and pod template output
2024-01-23 20:03:53 +01:00
Joe Betz
eafa9bd24b Add validation tests 2024-01-23 18:23:39 +00:00
Ivo Gosemann
740b4c456d k8s.io/client-go: add OverridingClientConfig overriding RawConfig 2024-01-23 11:13:40 +01:00
Ivo Gosemann
db80aa56ed k8s.io/client-go: add ClientConfig option to override raw config 2024-01-23 09:30:42 +01:00
Mike Spreitzer
b88fefad1f Add note about directory structure
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2024-01-22 15:36:35 -05:00
Qi Ni
3bf2bf8191 chore: Cleanup in-tree credential provider azure and cloud provider azure 2024-01-20 15:18:31 +08:00
Ivan Valdes
6d65c063ca describer: improve job and pod template output
* Add Node-Selectors and Tolerations to pod template's describe output.
* Add Suspend, BackoffLimit and TTLSecondsAfterFinished to job's describe
  output.
2024-01-19 10:17:42 -08:00
Lukasz Szaszkiewicz
41e706600a client-go/reflector: make UseWatchList a pointer
until #115478(use streaming against the etcd storage)
is resolved the cacher need a way to disable the streaming.
2024-01-19 14:40:18 +01:00
Kubernetes Prow Robot
b27b56a46c Merge pull request #122842 from pohly/klog-update
dependencies: klog v2.120.1
2024-01-18 20:11:00 +01:00
Kubernetes Prow Robot
c82da711b0 Merge pull request #122839 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.15.0, gomega v1.31.0
2024-01-18 20:10:50 +01:00
Kubernetes Prow Robot
eabd6e4584 Merge pull request #122704 from carlory/fix-introactive-storageclass
If a pvc has an empty storageclass name, don't try to assign a default StorageClass
2024-01-18 20:10:41 +01:00
Patrick Ohly
e2222f1e30 dependencies: klog v2.120.1 2024-01-18 16:58:40 +01:00
Patrick Ohly
18f0af1f00 dependencies: ginkgo v2.15.0, gomega v1.31.0
The main reason for updating is support for reporting the cause of context
cancellation: Ginkgo provides that information when canceling a context and
Gomega polling code includes that when generating a failure message.
2024-01-18 15:24:31 +01:00
Kubernetes Prow Robot
1e136ef8a0 Merge pull request #122523 from yasindce1998/secret-fix
fix: create tls secret cert to crt for --cert flag
2024-01-18 09:52:36 +01:00
Vandit Singh
83ff8a2f49 Negative index regression test for json-patch (#122625)
* add testcase with negative index

* exercise successful negative index patching

* use different values for testing

Co-authored-by: Chris Bandy <bandy.chris@gmail.com>

---------

Co-authored-by: Chris Bandy <bandy.chris@gmail.com>
2024-01-18 08:44:19 +01:00
Kubernetes Prow Robot
a02a00ecd7 Merge pull request #122142 from pohly/client-go-events-adapter-context
client-go events: also support context for NewEventBroadcasterAdapter
2024-01-18 08:44:12 +01:00
Kubernetes Prow Robot
5ad2c12a69 Merge pull request #122701 from carlory/fix-quota
Fix resource deletion failure caused by quota calculation error when InPlacePodVerticalScaling is turned on
2024-01-18 06:38:21 +01:00
Patrick Ohly
f8e25eff92 client-go events: also support context for NewEventBroadcasterAdapter
27a68aee3a introduced context support. In order to use that
also with NewEventBroadcasterAdapter, a variant of the call is needed to allow
the caller to specify the context.

The `logcheck:context` comment ensures that code which is meant to be
contextual uses the new call.
2024-01-17 18:06:29 +01:00
Roman Bednar
2ce04fc04b flag PersistentVolumeLastPhaseTransitionTime field as beta 2024-01-17 13:14:09 +01:00
carlory
041e97af1f fix evaluate resource quota if a resource is updated when the InPlacePodVerticalScaling feature-gate is on 2024-01-17 11:02:54 +08:00
Kubernetes Prow Robot
f84b2f0254 Merge pull request #122729 from jparrill/HOSTEDCP-336
Kube codegen tool now ignore the vendor folder by default on code generation
2024-01-16 20:48:44 +01:00
Kubernetes Prow Robot
c75a146f23 Merge pull request #122772 from thockin/codegen_use_passed_flagset
code-gen: Use the passed FlagSet, not hardcoded
2024-01-16 09:49:33 +01:00
Kubernetes Prow Robot
026a27e5eb Merge pull request #122571 from p0lyn0mial/upstream-client-go-watch-list-fg
client-go/features: introduce WatchListClient feature gate
2024-01-15 18:20:55 +01:00
Juan Manuel Parrilla Madrid
5cfd75a84e Ignore vendor folder on client code generation
During the client code generation, the vendor folder now will be ignored by default.

Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
2024-01-15 11:15:07 +01:00
Lukasz Szaszkiewicz
7773b0f53f client-go/features: introduce WatchListClient feature gate 2024-01-15 09:45:57 +01:00
Kubernetes Prow Robot
8bc0ed16cd Merge pull request #122640 from carlory/kubectl-describe-vac
kubectl: vac support ResourceDescriber
2024-01-15 06:47:55 +01:00
Tim Hockin
0d366dd99a codegen: Use long flag names for clarity 2024-01-14 16:12:09 -08:00
Kubernetes Prow Robot
f2dad0c6f4 Merge pull request #122773 from thockin/sync_json-patch_dep_version
Sync code-generator/examples json-patch ver to the same as everyone else
2024-01-14 23:57:51 +01:00
Kubernetes Prow Robot
908a958bb1 Merge pull request #122771 from thockin/make_verify-fieldname-docs_actually_error
Make verify-fieldname-docs actually error
2024-01-14 23:57:44 +01:00
Tim Hockin
f2b550180c codegen: don't use xargs w/ maybe-empty input
GNU xargs has a `-r, --no-run-if-empty` option but I don't think we want
to depend on GNU (thanks, MacOS).

Why?  Sometimes, when you are messing with codegens, you end up with an
empty input and then it just hangs.
2024-01-14 10:38:34 -08:00
Tim Hockin
582312d965 Sync json-patch ver to the same as everyone else
It's unclear why this needs to be different.  The commit which added it
(1993a4cb37) just says "vendor".  This was
reverted in 741f146157 saying "Revert to
json-patch 4.12.0". I suspect this one just slipped past.
2024-01-14 10:36:12 -08:00
Tim Hockin
7162b930be code-gen: Use the passed FlagSet, not hardcoded
Even if the one we pass in is apparently always the default
CommandLine, we should use the one passed in.
2024-01-14 10:34:29 -08:00
Tim Hockin
8b8f0a70cd Make verify-fieldname-docs actually error
Sadly, cmd/fieldnamedocscheck did not exit non-zero when it needed to.

Fix the one thing it flagged.
Add it to verify-quick
2024-01-14 10:32:08 -08:00
carlory
8af9a177b2 If a pvc has an empty storageclass name, don't try to assign a default StorageClass to it. 2024-01-13 21:25:43 +08:00
carlory
d2b16b2a21 vac support ResourceDescriber
Co-authored-by: Arda Güçlü <aguclu@redhat.com>
2024-01-13 18:46:28 +08:00
Kubernetes Prow Robot
83e6636096 Merge pull request #122647 from benluddy/featuregate-default-runtime-override
Support overrides for registered feature defaults.
2024-01-12 17:54:40 +01:00
Ben Luddy
46d0e1d5aa Support overrides for registered feature defaults.
This is to support the goal of enabling a feature by default for a single component only when the
feature in question is consumed by multiple components.

Overriden defaults are reflected in KnownFeatures and registered flag text.
2024-01-12 10:25:22 -05:00
Kubernetes Prow Robot
cc076e553e Merge pull request #122731 from cpanato/update-prom
Update publishing-bot rules to Go 1.20.13 and 1.21.6
2024-01-12 14:21:17 +01:00
cpanato
4db86556e5 Update publishing-bot rules to Go 1.20.13 and 1.21.6
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-01-12 12:01:23 +01:00
Cici Huang
3fb6790164 Update env version, Add cost for previous func, add tests, etc. 2024-01-12 00:40:37 +00:00