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

Pr/jrfastab/config map testing #3355

Closed
wants to merge 3 commits into from
Closed

Conversation

jrfastab
Copy link
Contributor

I got a bug report that a config file option did not work when pushed through the config map as a file in systemd. It turned out to be a typo but this adds infrastructure and a test to add go tests to check this works.

For now I just add one test but we can add more easily now.

@jrfastab jrfastab requested a review from a team as a code owner January 29, 2025 22:45
@jrfastab jrfastab requested a review from tpapagian January 29, 2025 22:45
Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

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

:rubber-stamp:

@jrfastab jrfastab force-pushed the pr/jrfastab/config-map-testing branch 2 times, most recently from d0043e0 to 028506f Compare January 29, 2025 23:03
@jrfastab jrfastab added the release-note/misc This PR makes changes that have no direct user impact. label Jan 29, 2025
We currently do not have any test infrastructure to test systemd config
options. Add a WithConfigMap primitive so we can start to test different
deployments.

Signed-off-by: John Fastabend <[email protected]>
To test passing config files and parsing options we need to expose
the API for testing.

Signed-off-by: John Fastabend <[email protected]>
This ensure config dir options are working.

Signed-off-by: John Fastabend <[email protected]>
@jrfastab jrfastab force-pushed the pr/jrfastab/config-map-testing branch from 028506f to 5fc4ff6 Compare January 29, 2025 23:11
@jrfastab
Copy link
Contributor Author

close this for now.

@jrfastab jrfastab closed this Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants