diff --git a/cmd/provider/monolith/zz_main.go b/cmd/provider/monolith/zz_main.go index 589a710334..379b92e6f6 100644 --- a/cmd/provider/monolith/zz_main.go +++ b/cmd/provider/monolith/zz_main.go @@ -98,6 +98,11 @@ func main() { ctrl.SetLogger(zl) } + logr.Info("warning: The monolithic package is deprecated in favor of the AWS family's resource packages " + + "and will no longer be maintained after 12 June 2024. Please consider switching to the family provider packages " + + "as we will no longer be publishing new versions of the monolithic package." + + "You can find more information about the provider families from the following link: https://docs.upbound.io/providers/provider-families/") + // currently, we configure the jitter to be the 5% of the poll interval pollJitter := time.Duration(float64(*pollInterval) * 0.05) logr.Debug("Starting", "sync-interval", syncInterval.String(), diff --git a/hack/main.go.tmpl b/hack/main.go.tmpl index 5767da8582..29dc60db6f 100644 --- a/hack/main.go.tmpl +++ b/hack/main.go.tmpl @@ -97,7 +97,12 @@ func main() { // logger when we're running in debug mode. ctrl.SetLogger(zl) } - +{{ if eq .Group "monolith" }} + logr.Info("warning: The monolithic package is deprecated in favor of the AWS family's resource packages " + + "and will no longer be maintained after 12 June 2024. Please consider switching to the family provider packages " + + "as we will no longer be publishing new versions of the monolithic package." + + "You can find more information about the provider families from the following link: https://docs.upbound.io/providers/provider-families/") +{{ end }} // currently, we configure the jitter to be the 5% of the poll interval pollJitter := time.Duration(float64(*pollInterval) * 0.05) logr.Debug("Starting", "sync-interval", syncInterval.String(), diff --git a/package/crossplane.yaml.tmpl b/package/crossplane.yaml.tmpl index b99891c119..97555e6f84 100644 --- a/package/crossplane.yaml.tmpl +++ b/package/crossplane.yaml.tmpl @@ -13,6 +13,13 @@ metadata: Upbound's official Crossplane provider to manage Amazon Web Services (AWS) {{ .Service }} services in Kubernetes. meta.crossplane.io/readme: | + {{ if eq .Service "monolith" }} + ⚠️ **Deprecation Notice:** The monolithic package is deprecated in favor of the AWS family's + resource packages and will no longer be maintained after 12 June 2024. Please consider + switching to the [family provider packages](https://docs.upbound.io/providers/provider-families/) + as we will no longer be publishing new versions of the monolithic package. + \ + {{ end }} Provider AWS is a Crossplane provider for [Amazon Web Services (AWS)](https://aws.amazon.com/) developed and supported by Upbound. Available resources and their fields can be found in the [Upbound