Roman Bednar
2ce04fc04b
flag PersistentVolumeLastPhaseTransitionTime field as beta
2024-01-17 13:14:09 +01: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
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
Kubernetes Prow Robot
4f2029bb65
Merge pull request #122702 from p0lyn0mial/upstream-component-base-fg-clean-up
...
component-base/featuregate: store atomic.Value fields as value not reference
2024-01-11 20:32:56 +01:00
Kubernetes Prow Robot
823ecb58f6
Merge pull request #122706 from pacoxu/klog-upgrade
...
bump klog to v2.120.0
2024-01-11 18:25:38 +01:00
cpanato
a5861a1262
[go] Bump images, dependencies and versions to go 1.21.6 and distroless iptables to 0.4.4
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2024-01-11 11:54:35 +01:00
Paco Xu
3c86d21316
bump klog to v2.120.0
2024-01-11 17:35:07 +08:00
Lukasz Szaszkiewicz
6376dd6296
component-base/featuregate: store atomic.Value fields as value not reference
...
featureGate is a pointer receiver thus it is safe to store
atomic fields as values because they won't be copied.
2024-01-11 09:19:34 +01:00
Lukasz Szaszkiewicz
57ec7d20e8
client-go/features: move the defaultKubernetesFeatureGates variable to the new file
2024-01-11 08:26:49 +01:00
Kubernetes Prow Robot
c9158e9a19
Merge pull request #122595 from dims/support-building-with-and-without-cloud-providers
...
KUBE_PROVIDERLESS - Support building with and without cloud providers
2024-01-11 05:42:23 +01:00
Monis Khan
9387a66c71
Clean up encryption config reading and hashing logic
...
This is a no-op change that makes the internal encryption config
hash more specific to it use and explicitly marks it as unstable.
Signed-off-by: Monis Khan <mok@microsoft.com >
2024-01-10 14:52:12 -05:00
Kubernetes Prow Robot
0341e8294a
Merge pull request #122555 from p0lyn0mial/upstream-client-go-fg-provider-with-types
...
client-go/features: introduce feature gates
2024-01-10 20:49:12 +01:00
Lukasz Szaszkiewicz
04bbd3481f
client-go/features: warn when ordering initialization issue
...
ReplaceFeatureGates logs a warning when the default env var
implementation has been already used.
Such a situation indicates a potential ordering issue and usually is unwanted.
2024-01-10 17:24:55 +01:00
Lukasz Szaszkiewicz
d74c57d4f5
client-go/features: introduce feature gates
...
This PR add a feature gates mechanisim to client-go
as described in https://docs.google.com/document/d/1g9BGCRw-7ucUxO6OtCWbb3lfzUGA_uU9178wLdXAIfs
In particular:
- Adds a default feature gate implementation based on environment variables.
- Adds a set of methods for reading, overwriting the default implementation, and adding features to an external registry.
Co-authored-by: deads2k <deads@redhat.com >
Co-authored-by: Ben Luddy <bluddy@redhat.com >
2024-01-10 17:20:40 +01:00
Kubernetes Prow Robot
35bed806dc
Merge pull request #121956 from rewanthtammana/patch-1
...
Fixed `remotePath` in mount_windows.go
2024-01-10 17:08:08 +01:00
Kubernetes Prow Robot
56ecdadd99
Merge pull request #122574 from brianpursley/kubectl-1532
...
Fix kubectl drain error handling bug.
2024-01-09 17:40:17 +01:00
Kubernetes Prow Robot
9e0eccabb4
Merge pull request #119968 from j4ckstraw/replace-stat-with-statx
...
Replace stat syscall with statx
2024-01-08 21:17:03 +01:00
j4ckstraw
d5664276bf
refact IsLikelyNotMountPoint
...
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
2024-01-08 09:46:37 +08:00
Davanum Srinivas
c019b51be4
Remove unnecessary providerless tag in azure legacy provider
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-01-07 08:16:04 -05:00
Kubernetes Prow Robot
96461a22a4
Merge pull request #120159 from Ithrael/fix/delete-pod-declare-no-controllor-note
...
fix(kubectl): delete pod declare no controllor note
2024-01-05 14:29:52 +01:00
Kubernetes Prow Robot
9bd0ef5f17
Merge pull request #122558 from linxiulei/webhook-http2
...
Use http/2 for localhost webhook
2024-01-04 19:11:26 +01:00
Kubernetes Prow Robot
e1576c8e43
Merge pull request #121924 from saschagrunert/leaky
...
Remove `leaky` package and move `PodInfraContainerName` to staging
2024-01-04 17:59:30 +01:00
Kubernetes Prow Robot
4cc0af1d16
Merge pull request #121917 from SataQiu/clean-import-hack
...
Remove import hack about k8s.io/utils/clock/testing
2024-01-04 17:59:21 +01:00
Brian Pursley
4aecb151b8
Fix kubectl drain error handling bug.
...
Fixed a bug where kubectl drain would consider a pod as having been deleted if an error occurs while calling the API.
2024-01-04 08:53:57 -05:00
Eric Lin
246e69fb99
Use http/2 for localhost webhook
...
Signed-off-by: Eric Lin <exlin@google.com >
2024-01-04 09:09:10 +00:00
Kubernetes Prow Robot
cacdf6c707
Merge pull request #122023 from ardaguclu/set-credentials-exec-flags
...
kubectl config set-credentials: Add InteractiveMode and ProvideClusterInfo flags
2024-01-03 17:21:06 +01:00
Kubernetes Prow Robot
838536f664
Merge pull request #122468 from carlory/remove-fg-RemoveSelfLink
...
remove GA featuregate RemoveSelfLink
2024-01-03 16:16:25 +01:00
Kubernetes Prow Robot
a7af34e1b8
Merge pull request #122347 from aramase/aramase/c/move_kms_apis
...
kmsv2: move encryption config types to standard API server config location
2024-01-03 16:16:18 +01:00
Anish Ramasekar
af8da8e01c
[StructuredAuthnConfig] add comment for extra keys unique requirement
...
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com >
2024-01-02 19:58:20 +00:00
bzsuni
5405dd0f9b
Update goleak from v1.2.1 to v1.3.0
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2024-01-03 00:20:48 +08:00
j4ckstraw
c3775de747
fix logic error
...
Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com >
2024-01-01 18:06:24 +08:00
Kubernetes Prow Robot
1b6b3ba013
Merge pull request #122346 from Jefftree/patcher-fix-openapigetter-nil
...
Make Patcher tolerant of OpenAPIGetter being nil
2023-12-27 22:01:30 +01:00
carlory
3b67181c93
remove GA featuregate RemoveSelfLink
2023-12-25 00:29:38 +08:00
Arda Güçlü
acbbaddada
Initialize default attach func regardless of the value of flag
2023-12-22 09:50:48 +03:00