GoogleCloudPlatform / k8s-config-connector

GCP Config Connector, a Kubernetes add-on for managing GCP resources
https://cloud.google.com/config-connector/docs/overview
Apache License 2.0
864 stars 202 forks source link

[llm direct] Handle immutability for spec.metricDescriptor.labels field #1805

Open gemmahou opened 2 months ago

gemmahou commented 2 months ago

Checklist

Describe the feature or resource

Per the API design, it's not allowed to modify any existing spec.metricDescriptor.labels fields, but it's possible to add/delete labels.

Can we handle the blocking of updates on labels fields earlier, either in our webhook or direct controller, to avoid sending HTTP requests to the GCP API? This would reduce the number of requests sent to GCP.

Additional information

No response

Importance

No response

acpana commented 1 month ago

cc @acpana @yuwenma