Skip to content

Commit

Permalink
Removes code deprecated with v1.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Meghana Jangi <mjangi@vmware.com>
  • Loading branch information
meghanajangi committed Feb 23, 2022
1 parent 9cc429d commit c0668a0
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 974 deletions.
5 changes: 4 additions & 1 deletion docs/book/src/developer/providers/v1.1-to-v1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ in ClusterAPI are kept in sync with the versions used by `sigs.k8s.io/controller
* `util.MachinesByCreationTimestamp` has been deprecated and will be removed in a future release.

### Removals

* The `third_party/kubernetes-drain` package has been removed, as we're now using `k8s.io/kubectl/pkg/drain` instead ([PR](https://github.com/kubernetes-sigs/cluster-api/pull/5440)).
* `util/version.CompareWithBuildIdentifiers` has been removed, please use `util/version.Compare(a, b, WithBuildTags())` instead.
* The functions `annotations.HasPausedAnnotation` and `annotations.HasSkipRemediationAnnotation` have been removed, please use
`annotations.HasPaused` and `annotations.HasSkipRemediation` respectively instead.
-

### API Changes
Expand Down
4 changes: 0 additions & 4 deletions third_party/kubernetes-drain/README.md

This file was deleted.

96 changes: 0 additions & 96 deletions third_party/kubernetes-drain/cordon.go

This file was deleted.

74 changes: 0 additions & 74 deletions third_party/kubernetes-drain/default.go

This file was deleted.

Loading

0 comments on commit c0668a0

Please # to comment.