timescale / tobs

tobs - The Observability Stack for Kubernetes. Easy install of a full observability stack into a k8s cluster with Helm charts.
Apache License 2.0
560 stars 61 forks source link

Install fails due to "enableHttp2" in com.coreos.monitoring.v1.ServiceMonitor.spec.endpoints #638

Closed theelderbeever closed 1 year ago

theelderbeever commented 1 year ago

What happened? Install fails due to underlying coreos chart configuration.

Did you expect to see something different? Install should succeed.

How to reproduce it (as minimally and precisely as possible):

helm install --wait tobs timescale/tobs -n tobs --version 17.12.2

Environment

Client Version: v1.24.2
Kustomize Version: v4.5.4
Server Version: v1.23.13-eks-fb459a0

AWS EKS

❯ helm install --wait tobs timescale/tobs -n tobs
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(ServiceMonitor.spec.endpoints[0]): unknown field "enableHttp2" in com.coreos.monitoring.v1.ServiceMonitor.spec.endpoints

Anything else we need to know?:

paulfantom commented 1 year ago

This field was added fairly recently in prometheus-operator and it should be available in tobs with version 20.0.0.

If you are not doing fresh tobs install, make sure you are also updating CRDs.

Please reopen if it still doesn't work with recent tobs versions.