Skip to content

Commit bc06bb2

Browse files
committed
Add client-go 10.0.0 changelog
1 parent 8abb210 commit bc06bb2

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

CHANGELOG.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,114 @@ https://github.com/kubernetes/test-infra/issues/5843.
55
Changes in `k8s.io/api` and `k8s.io/apimachinery` are mentioned here
66
because `k8s.io/client-go` depends on them.
77

8+
# v10.0.0
9+
10+
**Breaking Changes:**
11+
12+
* Action required: client-go will no longer have bootstrap
13+
(`k8s.io/client-go/tools/bootstrap`) related code. Any reference to it will
14+
break. Please redirect all references to `k8s.io/bootstrap` instead.
15+
([#67356](https://github.com/kubernetes/kubernetes/pull/67356))
16+
17+
* The methods `NewSelfSignedCACert` and `NewSignedCert` now use `crypto.Signer`
18+
interface instead of `rsa.PrivateKey` for certificate creation. This is done
19+
to allow different kind of private keys (for example: ecdsa).
20+
([#69329](https://github.com/kubernetes/kubernetes/pull/69329))
21+
22+
* `GetScale` and `UpdateScale` methods have been added for `apps/v1` clients
23+
and with this, no-verb scale clients have been removed.
24+
([#70437](https://github.com/kubernetes/kubernetes/pull/70437))
25+
26+
* `k8s.io/client-go/util/cert/triple` package has been removed.
27+
([#70966](https://github.com/kubernetes/kubernetes/pull/70966))
28+
29+
**New Features:**
30+
31+
* `unfinished_work_microseconds` is added to the workqueue metrics.
32+
It can be used to detect stuck worker threads (kube-controller-manager runs many workqueues.).
33+
([#70884](https://github.com/kubernetes/kubernetes/pull/70884))
34+
35+
* A method `GetPorts` is added to expose the ports that were forwarded.
36+
This can be used to retrieve the locally-bound port in cases where the input was port 0.
37+
([#67513](https://github.com/kubernetes/kubernetes/pull/67513))
38+
39+
* Dynamic listers and informers, that work with `runtime.Unstructured` objects,
40+
are added. These are useful for writing generic, non-generated controllers.
41+
([68748](https://github.com/kubernetes/kubernetes/pull/68748))
42+
43+
* The dynamic fake client now supports JSONPatch.
44+
([#69330](https://github.com/kubernetes/kubernetes/pull/69330))
45+
46+
* The `GetBinding` method is added for pods in the fake client.
47+
([#69412](https://github.com/kubernetes/kubernetes/pull/69412))
48+
49+
**Bug fixes and Improvements:**
50+
51+
* The `apiVersion` and action name values for fake evictions are now set.
52+
([#69035](https://github.com/kubernetes/kubernetes/pull/69035))
53+
54+
* PEM files containing both TLS certificate and key can now be parsed in
55+
arbitrary order. Previously key was always required to be first.
56+
([#69536](https://github.com/kubernetes/kubernetes/pull/69536))
57+
58+
* Go clients created from a kubeconfig that specifies a `TokenFile` now
59+
periodically reload the token from the specified file.
60+
([#70606](https://github.com/kubernetes/kubernetes/pull/70606))
61+
62+
* It is now ensured that oversized data frames are not written to
63+
spdystreams in `remotecommand.NewSPDYExecutor`.
64+
([#70999](https://github.com/kubernetes/kubernetes/pull/70999))
65+
66+
* A panic occuring on calling `scheme.Convert` is fixed by populating the fake
67+
dynamic client scheme. ([#69125](https://github.com/kubernetes/kubernetes/pull/69125))
68+
69+
* Add step to correctly setup permissions for the in-cluster-client-configuration example.
70+
([#69232](https://github.com/kubernetes/kubernetes/pull/69232))
71+
72+
* The function `Parallelize` is deprecated. Use `ParallelizeUntil` instead.
73+
([#68403](https://github.com/kubernetes/kubernetes/pull/68403))
74+
75+
* [k8s.io/apimachinery] Restrict redirect following from the apiserver to
76+
same-host redirects, and ignore redirects in some cases.
77+
([#66516](https://github.com/kubernetes/kubernetes/pull/66516))
78+
79+
## API changes
80+
81+
**New Features:**
82+
83+
* GlusterFS PersistentVolumes sources can now reference endpoints in any
84+
namespace using the `spec.glusterfs.endpointsNamespace` field.
85+
Ensure all kubelets are upgraded to 1.13+ before using this capability.
86+
([#60195](https://github.com/kubernetes/kubernetes/pull/60195))
87+
88+
* The [dynamic audit configuration](https://github.com/kubernetes/community/blob/master/keps/sig-auth/0014-dynamic-audit-configuration.md)
89+
API is added. ([#67547](https://github.com/kubernetes/kubernetes/pull/67547))
90+
91+
* A new field `EnableServiceLinks` is added to the `PodSpec` to indicate whether
92+
information about services should be injected into pod's environment variables.
93+
([#68754](https://github.com/kubernetes/kubernetes/pull/68754))
94+
95+
* `CSIPersistentVolume` feature, i.e. `PersistentVolumes` with
96+
`CSIPersistentVolumeSource`, is GA. `CSIPersistentVolume` feature gate is now
97+
deprecated and will be removed according to deprecation policy.
98+
([#69929](https://github.com/kubernetes/kubernetes/pull/69929))
99+
100+
* Raw block volume support is promoted to beta, and enabled by default.
101+
This is accessible via the `volumeDevices` container field in pod specs,
102+
and the `volumeMode` field in persistent volume and persistent volume claims definitions.
103+
([#71167](https://github.com/kubernetes/kubernetes/pull/71167))
104+
105+
**Bug fixes and Improvements:**
106+
107+
* The default value of extensions/v1beta1 Deployment's `RevisionHistoryLimit`
108+
is set to `MaxInt32`. ([#66605](https://github.com/kubernetes/kubernetes/pull/66605))
109+
110+
* `procMount` field is no longer incorrectly marked as required in openapi schema.
111+
([#69694](https://github.com/kubernetes/kubernetes/pull/69694))
112+
113+
* The caBundle and service fields in admission webhook API objects now correctly
114+
indicate they are optional. ([#70138](https://github.com/kubernetes/kubernetes/pull/70138))
115+
8116
# v9.0.0
9117

10118
**Breaking Changes:**

0 commit comments

Comments
 (0)