小炒肉

Results 76 comments of 小炒肉

> Hello @jicki Do you get crd yaml from https://github.com/VictoriaMetrics/operator/blob/master/config/crd/bases/operator.victoriametrics.com_vmalertmanagerconfigs.yaml and do you use `kubectl apply` to upgrade it? The upgrade works on my test. And I checked the change...

> Weird, still works for me. ![image](https://user-images.githubusercontent.com/39937150/263983054-ea8a95c9-c19b-46ad-bf5b-c02bc0edff2b.png) Could you please recreate it and paste full logs? I just tested it and didn't have any issues. I'm unable to reproduce the...

@Haleygo v0.37.1 update to v0.39.0 encounter the same error, full log is as follows [error.log](https://github.com/VictoriaMetrics/operator/files/12836313/error.log)

> Did you use helm or kubectl to do the upgrade? And which version their are? use `kubectl apply` to upgrade . kubectl version v1.22.x

> Did you use helm or kubectl to do the upgrade? And which version their are? @Haleygo Upgrade 0.39.3. I still have this error ``` kubectl get vmalertmanagers.operator.victoriametrics.com -A No...

> @jicki Could you please give some reproduce steps? What's your pre-installed CRD version, and you use kubectl all the time, right? > > ps. could releated to [helm/helm#5806 (comment)](https://github.com/helm/helm/issues/5806#issuecomment-782224318),...

> > version 0.35.1 ---upgrade ---> version 0.36.1 > > version 0.37.1 ---upgrade ---> version 0.39.0 > > version 0.39.0 -- upgrade ---> version 0.39.3 > > So you applied...

@Haleygo "I still have this issue." version v0.43.0 --> v0.43.1 version v0.43.1 --> v0.43.3 just only. CustomResourceDefinition vmalertmanagers.operator.victoriametrics.com ``` The request is invalid: patch: Invalid value: "map[metadata:map[annotations:map[helm.sh/resource-policy: kubectl.kubernetes.io/last-applied-configuration:{\"apiVersion\":\"apiextensions.k8s.io/v1\",\"kind\":\"CustomResourceDefinition\",\"metadata\":{\"annotations\":{\"controller-gen.kubebuilder.io/version\":\"v0.14.0\"},\"name\":\"vmalertmanagers.operator.victoriametrics.com\"},\"spec\":{\"group\":\"operator.victoriametrics.com\",\"names\":{\"kind\":\"VMAlertmanager\",\"listKind\":\"VMAlertmanagerList\",\"plural\":\"vmalertmanagers\",\"shortNames\":[\"vma\"],\"singular\":\"vmalertmanager\"},\"scope\":\"Namespaced\",\"versions\":[{\"additionalPrinterColumns\":[{\"description\":\"The version of...

ho I think I know the reason now, because I'm using an old version of Kubernetes, and the new version of Kubernetes doesn't have this problem.

me too ``` 2023-06-20 08:27:37,251 INFO: establishing a new patroni connection to the postgres cluster 2023-06-20 08:27:37,555 INFO: establishing a new patroni connection to the postgres cluster 2023-06-20 08:27:37,559 WARNING:...