Skip to content

Conversation

@lukasjarosch
Copy link

@lukasjarosch lukasjarosch commented May 28, 2025

When in ConfigMap mode (--config-map-mode) we need to pass annotations to the created ConfigMaps.
Just like with Labels, the easiest way is to pass the annotations down to the ConfigMap as well.

This PR introduces that: To just pass the annotation map down to the created configmap in the slo controller.

Note: I didn't add a test for this. If you prefer to have a test, just let me know 😃

@Duciwuci
Copy link

@metalmatze this would be helpful for our system since we are using cortex and require some annotations on the dedicated ConfigMaps when running in ConfigMapMode

@metalmatze
Copy link
Member

Thank you for sending this!
Also thank you for your patience.

There are some tests that need to be fixed. You can always try locally before pushing your changes by running make test.

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.

3 participants