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

[runwhen-local-feedback] support level of detail from annotations on Kubernetes resources #422

Open
stewartshea opened this issue Jan 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@stewartshea
Copy link
Contributor

stewartshea commented Jan 13, 2024

Observation
As an alternative option specifying the namespace LODs in the workspaceInfo.yaml file for runwhen local (which works relatively well for smaller scale deployments). It would be nice to have some specific annotations that we can read from the resource to specify LOD, such that deployment pipelines could automatically add the desired annotation. In this way, new resources could be automatically included or excluded without updating the workspaceInfo.yaml file.

Possible Suggestions
For Kubernetes, discover some annotation set on the namespace:

metadata:
  annotations: 
    runwhen.com/level-of-detail: [none | basic | detailed]

Any other details or context
I think this should be aligned with #374, though an annotation like the following would be set on the matched resource and not the namespace:

metadata:
  annotations: 
    runwhen.com/owner: "shea.stewart@runwhen.com"

We would also want to consider how to handle this with other cloudquery discovered resources such GCP/Azure/AWS tags.

@vaterlaus vaterlaus added the enhancement New feature or request label Feb 23, 2024
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

No branches or pull requests

2 participants