alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Added monitoring.coreos.com/v1 crds

Open itspooya opened this issue 10 months ago • 9 comments

PR Description

This adds monitoring.coreos.com/v1 crds, more info in issue

Which issue(s) this PR fixes

Fixes #173

Notes to the Reviewer

PR Checklist

  • [ ] CHANGELOG.md updated
  • [ ] Documentation added
  • [ ] Tests updated
  • [ ] Config converters updated

itspooya avatar Apr 11 '24 14:04 itspooya

Hey! This is something we've been back and forth on a few times, but I think it's reasonable to start including the CRDs from Prometheus Operator.

I'm worried that copying/pasting them risks us getting out of sync fairly quickly. Instead of copying/pasting them, what would it look like if we added a chart dependency on the official Chart which contains the CRDs? (Even though not all of the CRDs are support in Alloy).

This way, we can allow other tooling to keep us up to date.

rfratto avatar Apr 12 '24 16:04 rfratto

That's a good idea, I saw that before but the question is, do we need all the crds? what are your suggestions on this?

itspooya avatar Apr 12 '24 18:04 itspooya

Given the trade-off between being in sync with upstream and installing some unnecessary CRDs, I'd generally prefer being in sync right now, especially since CRDs are pretty low overheard (IIUC). If this is a problem in the future we can consider rolling back the set of CRDs to just the set we need and figuring out a strategy to not fall out of sync.

rfratto avatar Apr 12 '24 18:04 rfratto

Then based on your answer, I assume I should make a subchart that installs prometheus-operator-crds(add it as dependency), is that right? if it is the case, I will make the changes and then ask you again to review Thanks

itspooya avatar Apr 12 '24 18:04 itspooya

Yes please :)

(I'm OOO next week so it might take a while for me to get back to the review on this, I'm sorry)

rfratto avatar Apr 12 '24 18:04 rfratto

I will do the changes and let you know I am excited about this, thanks for the opportunity

itspooya avatar Apr 12 '24 18:04 itspooya

I have added a line into test part, which would run helm dependency update

itspooya avatar Apr 21 '24 19:04 itspooya

Hi, about the failing CIs, what should I do?

itspooya avatar Apr 25 '24 08:04 itspooya