GoogleCloudPlatform / prometheus-engine

Google Cloud Managed Service for Prometheus libraries and manifests.
https://g.co/cloud/managedprometheus
Apache License 2.0
195 stars 93 forks source link

refactor: don't use and generate CRD clientsets #950

Closed TheSpiritXIII closed 6 months ago

TheSpiritXIII commented 6 months ago

Some motivators:

  1. The potential need to split webhooks into its own package: the webhook package should not depend on the entire operator. It would be great if we could split types into its own package. Removing this code creates a clear declination of what should go into the types package.
  2. Our clientset code generator is deprecated and slow.
  3. The controller-runtime client is easier to use on e2e tests.