Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error applying prometheuses CRD #2880

Closed
torosent opened this issue Nov 23, 2019 · 3 comments
Closed

Error applying prometheuses CRD #2880

torosent opened this issue Nov 23, 2019 · 3 comments
Labels

Comments

@torosent
Copy link

torosent commented Nov 23, 2019

What happened?

Error applying prometheuses CRD

The CustomResourceDefinition "prometheus.monitoring.coreos.com" is invalid: metadata.name: Invalid value: "prometheus.monitoring.coreos.com": must be spec.names.plural+"."+spec.group

Seems to be related to
PR #2855

and
https://github.com/coreos/prometheus-operator/blob/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml#L9

https://github.com/coreos/prometheus-operator/blob/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml#L15

Did you expect to see some different?

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

kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml

Environment

  • Prometheus Operator version:
    using helm chart
    prometheus-operator-8.2.4

  • Kubernetes version information:

    1.16.1

  • Kubernetes cluster kind:

    AKS

@s-urbaniak
Copy link
Contributor

@torosent indeed, good catch,cc @pgier.

@pgier
Copy link
Contributor

pgier commented Nov 24, 2019

Also reported in #2879

@s-urbaniak
Copy link
Contributor

Closing as it was fixed in #2885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants