Remove deprecated v2alpha1 CiliumNodeConfig CRD#44739
Remove deprecated v2alpha1 CiliumNodeConfig CRD#44739HadrienPatte wants to merge 4 commits intomainfrom
v2alpha1 CiliumNodeConfig CRD#44739Conversation
0311bc8 to
5170032
Compare
|
/test |
v2alpha1 CiliumNodeConfigv2alpha1 CiliumNodeConfig CRD
Even though it's been deprecated for so long I'd still add a note in upgrade notes that this has finally been removed. |
asauber
left a comment
There was a problem hiding this comment.
I would second adding a note to the Cilium upgrade instructions.
Also, in the future, let's make sure to add a deprecation warning for the API via kubebuilder, which wasn't done in this case.
There was a problem hiding this comment.
Thanks, pls update CRD schema version.
As Jussi and Andrew suggested, let's add removal of this CRD in upgrade notes and add appropriate release-note in this PR as per contributing guide.
The `v2alpha1` `CiliumNodeConfig` was deprecated in v1.16. Drop `readNodeConfigsv2alpha1`, `readNodeConfigsAllVersions`, and the corresponding test coverage. `ReadConfigSource` now reads only from the `v2` API. Signed-off-by: Hadrien Patte <[email protected]>
Remove the deprecated `v2alpha1` served version from the ciliumnodeconfigs CRD manifest and remove the connectivity test warning suppression for the deprecation log line that the apiserver emitted for `v2alpha1` requests. Signed-off-by: Hadrien Patte <[email protected]>
Update `ListCiliumNodeConfigs` and its interface and test stub to use `CiliumV2().CiliumNodeConfigs()` instead of `CiliumV2alpha1()`. Signed-off-by: Hadrien Patte <[email protected]>
Delete the `v2alpha1` `CiliumNodeConfig` type definition, unregister it from the scheme and delete associated generated code. Signed-off-by: Hadrien Patte <[email protected]>
5170032 to
a152df5
Compare
Done
I believe that was the case here:
Thanks, updated the version |
|
/test |
Remove
v2alpha1CiliumNodeConfigthat was promoted tov2in cilium 1.16.Closes #40110
Related: #31982
Question for reviewers:
do we need a mention in the 1.20 upgrade notes or is the release note from this PR sufficient? (v2alpha1 CiliumNodeConfig has been advertised as deprecated since 1.16)update: Added a note in the upgrade notes