0

I hv added below lines to my operator config as refering , https://github.com/GoogleCloudPlatform/prometheus-engine

managedAlertmanager:
  configSecret:
    key: alertmanager.yaml
    name: alertmanager

and got the below error, error validating data: ValidationError(OperatorConfig): unknown field "managedAlertmanager" in com.googleapis.monitoring.v1.OperatorConfig

the fix is to update crd as given here(https://github.com/GoogleCloudPlatform/prometheus-engine/blob/dbc5cf0905975bbc74c9fa9da75b13983051c8ff/manifests/setup.yaml). But this crd is auto-updating itself after some time and again it's throwing the above error.

04092000
  • 1
  • 1

0 Answers0