Upgrade from 2.6.0 to 2.7.1 fails due to validation errors
Receiving error when switching out Grafana from monitoring package to it's own package:
Helm upgrade failed: error validating "": error validating data: [ValidationError(Prometheus.spec): unknown field "scrapeConfigNamespaceSelector" in com.coreos.monitoring.v1.Prometheus.spec, ValidationError(Prometheus.spec): unknown field "scrapeConfigSelector" in com.coreos.monitoring.v1.Prometheus.spec]
Believe this is being caused by validation misconfiguration where the CRDs are being checked for what is currently in the cluster against what is being expected in the newer version, causing the upgrade to fail.
Edited by Casey Spicer