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

Helm Chart - Check prometheus CRD availability before creating ServiceMonitor - PodMonitor - PrometheusRule resources #107

Open
cmontemuino opened this issue Jan 16, 2024 · 3 comments · May be fixed by #108

Comments

@cmontemuino
Copy link

Given that the prometheus-stack dependency can be disabled (see condition: kube-prometheus-stack.install), adding a couple of guardrails to prometheus resources might make sense:

  • templates/podmonitors.yaml
  • templates/prometheusRules.yaml
  • templates/servicemonitors.yaml
@cmontemuino
Copy link
Author

I can open a PR if that helps.

@datacore-vvarakantham
Copy link
Contributor

Sure, please proceed to open a PR.

cmontemuino added a commit to cmontemuino/monitoring that referenced this issue Jan 29, 2024
…rces

Prometheus  resources should not be rendered unless Prometheus CRDs are
available.

This changeset includes an extra option to override the `apiVersion` Prometheus
provides.

close openebs#107

Signed-off-by: cmontemuino <1761056+cmontemuino@users.noreply.github.com>
@cmontemuino
Copy link
Author

Hi @datacore-vvarakantham, I've just opened an PR to address this issue: #108

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

Successfully merging a pull request may close this issue.

2 participants