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

feat: Allow explicit definition of what API resources should be monitored #104

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

hiddenmarten
Copy link
Contributor

@hiddenmarten hiddenmarten commented Dec 17, 2024

Summary

Fixes #100

I've decided to go with simple implementation at first and take trackable resources from the environment variable.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@hiddenmarten
Copy link
Contributor Author

The next step is here.
#105

Copy link
Owner

@TwiN TwiN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TRACKABLE_RESOURCES environment variable name isn't really clear. What resources are you talking about here? API resources? actual resource names? Perhaps an environment variable name such as API_RESOURCES_TO_WATCH would make more sense, as it conveys what the environment variable is trying to do.

Also, please add some documentation on how to use this feature.

@TwiN TwiN added the enhancement New feature or request label Dec 19, 2024
@TwiN TwiN changed the title Simple implementation of trackable resources feat: Allow explicit definition of what API resources should be monitored Dec 19, 2024
@hiddenmarten hiddenmarten requested a review from TwiN December 19, 2024 19:53
@hiddenmarten
Copy link
Contributor Author

@TwiN It's ready for review :)

@TwiN TwiN merged commit 05ab829 into TwiN:master Jan 3, 2025
1 check passed
@TwiN
Copy link
Owner

TwiN commented Jan 3, 2025

Thank you for the contribution!

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

Successfully merging this pull request may close these issues.

Request only necessary resources from kube-api
2 participants