Skip to content

Commit 1cc6bb9

Browse files
Add HasPausedAnnotation and HasSkipRemediationAnnotation func deprecation notes to v1.0-v1.1 migration doc
1 parent c6e3049 commit 1cc6bb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/book/src/developer/providers/v1.0-to-v1.1.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ are kept in sync with the versions used by `sigs.k8s.io/controller-runtime`.
2727
in `api/v1beta1` are deprecated: `SetupWebhookWithManager`, `Default`, `ValidateCreate`, `ValidateUpdate` and `ValidateDelete`.
2828
* The `third_party/kubernetes-drain` package is deprecated, as we're now using `k8s.io/kubectl/pkg/drain` instead ([PR](https://github.com/kubernetes-sigs/cluster-api/pull/5440)).
2929
* `util/version.CompareWithBuildIdentifiers` has been deprecated, please use `util/version.Compare(a, b, WithBuildTags())` instead.
30+
* The functions `annotations.HasPausedAnnotation` and `annotations.HasSkipRemediationAnnotation` have been deprecated, please use
31+
`annotations.HasPaused` and `annotations.HasSkipRemediation` respectively instead.
3032

3133
### Removals
3234

0 commit comments

Comments
 (0)