diff --git a/cmd/provider/monolith/zz_main.go b/cmd/provider/monolith/zz_main.go index 335e2a27c..94bc81bcf 100644 --- a/cmd/provider/monolith/zz_main.go +++ b/cmd/provider/monolith/zz_main.go @@ -93,6 +93,11 @@ func main() { ctrl.SetLogger(zl) } + logr.Info("warning: The monolithic package is deprecated in favor of the GCP 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 e27c72d36..d4950485a 100644 --- a/hack/main.go.tmpl +++ b/hack/main.go.tmpl @@ -92,7 +92,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 GCP 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 88759b8e5..7c0197e06 100644 --- a/package/crossplane.yaml.tmpl +++ b/package/crossplane.yaml.tmpl @@ -8,11 +8,18 @@ metadata: {{ end }} annotations: meta.crossplane.io/maintainer: Upbound - meta.crossplane.io/source: github.com/upbound/provider-{{ .ProviderName }} + meta.crossplane.io/source: github.com/crossplane-contrib/provider-upjet-{{ .ProviderName }} meta.crossplane.io/description: | Upbound's official Crossplane provider to manage Google Cloud Platform (GCP) {{ .Service }} services in Kubernetes. meta.crossplane.io/readme: | + {{ if eq .Service "monolith" }} + ⚠️ **Deprecation Notice:** The monolithic package is deprecated in favor of the GCP 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 GCP is a Crossplane provider for [Google Cloud Platform](https://cloud.google.com/) developed and supported by Upbound. Available resources and their fields can be found in the [Upbound Marketplace](https://marketplace.upbound.io/providers/upbound/provider-{{ .ProviderName }}).