Skip to content

feat(helm): check for ServiceMonitor GVK#5059

Closed
l0wl3vel wants to merge 5 commits intoexternal-secrets:mainfrom
l0wl3vel:main
Closed

feat(helm): check for ServiceMonitor GVK#5059
l0wl3vel wants to merge 5 commits intoexternal-secrets:mainfrom
l0wl3vel:main

Conversation

@l0wl3vel
Copy link
Copy Markdown

Problem Statement

Prevents unexpected rendering failure if any monitoring.coreos.com/v1 CRD is installed, while the ServiceMonitor CRD is missing.

Related Issue

Fixes #5058

Proposed Changes

Instead of checking if any CRD in the monitoring.coreos.com/v1 GV is available, like we do now, we check if the used CRD, ServiceMonitor, is installed.

Checklist

  • I have read the contribution guidelines
  • All commits are signed with git commit --signoff
  • My changes have reasonable test coverage
  • All tests pass with make test
  • I ensured my PR is ready for review with make reviewable

@l0wl3vel l0wl3vel requested a review from a team as a code owner July 22, 2025 14:25
@l0wl3vel l0wl3vel requested a review from gusfcarvalho July 22, 2025 14:25
instead of only GV monitoring.coreos.com/v1

Fixes external-secrets#5058

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>
@l0wl3vel l0wl3vel force-pushed the main branch 2 times, most recently from a74a3c9 to 1653ea1 Compare July 23, 2025 14:04
due to missing CRDS

Signed-off-by: Benjamin Ritter <benjamin.ritter@stackit.cloud>
l0wl3vel and others added 2 commits July 23, 2025 21:02
Co-authored-by: Gustavo Fernandes de Carvalho <17139678+gusfcarvalho@users.noreply.github.com>
Signed-off-by: Benjamin Ritter <7373184+l0wl3vel@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@jakobmoellerdev
Copy link
Copy Markdown
Contributor

@gusfcarvalho I think this needs a quick rebase / retrigger

@gusfcarvalho
Copy link
Copy Markdown
Member

I think #5087 implemented the same functionalities. @l0wl3vel can you confirm if this PR would still be needed?

@l0wl3vel
Copy link
Copy Markdown
Author

Yes, that feature is what we were looking for. I will close this MR and my Issue. Thank you for the help.

@l0wl3vel l0wl3vel closed this Aug 20, 2025
@gusfcarvalho
Copy link
Copy Markdown
Member

thanks for your contribution as well! I know it got hammered into one, but we really appreciate it all!!!

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 this pull request may close these issues.

Helm Capability check for ServiceMonitor only checks for GroupVersion instead of GroupVersionKind

3 participants