Description of problem:
Due to an issue in how Kubernetes v0.17.0 validates PVCs (https://github.com/kubernetes/kubernetes/issues/87583), the prometheus operator could not successfully create prometheus stateful sets (https://github.com/coreos/prometheus-operator/issues/2950).
Version-Release number of selected component (if applicable):
Prometheus operator 0.36.0 and earlier.
Always happens with certain config in kube 0.17.0
Steps to Reproduce:
Create a prometheus custom resource containing a volumeClaimTemplate containing either the apiVersion or Kind fields set to non-null values.
tested with 4.4.0-0.nightly-2020-02-13-192852, the Prometheus Operator version is v0.35.1 and the related resources' "app.kubernetes.io/version" according to the fix are v0.35.1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.