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(clamav): Make config files dict values #536

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jplitza
Copy link
Contributor

@jplitza jplitza commented Sep 13, 2024

This allows for fine-grained overrides of the default values provided with the Helm chart.

It should fall back gracefully when there are local values of the old string type.

@jplitza
Copy link
Contributor Author

jplitza commented Sep 13, 2024

I didn't bump the version of the chart as to not cause a merge conflict with my other open PR for clamav.

@jplitza jplitza force-pushed the clamav-config-dict branch 2 times, most recently from b4fb5b1 to ba7ea75 Compare September 20, 2024 12:46
This allows for fine-grained overrides of the default values provided with the Helm chart.

It should fall back gracefully when there are local values of the old string type.
@jplitza
Copy link
Contributor Author

jplitza commented Sep 23, 2024

Of course there were merge conflicts anyway (in the values.yaml). Rebased, and bumped the Chart version now, too. Also fixed a duplicate key in the YAML (good thing I designed the templates to handle list values 😄), outsourced the dict-to-config translation to a helper template and fixed some YAML shenanigans.

BTW, your CI pipeline spawns several (3?) instances of the pod. Since you are using the _base version of the ClamAV image, which doesn't contain the database, this causes 3 downloads of the database (several 100 MB) from the ClamAV CDN. You may consider using the image version without _base, to only download the database once, together with the image.

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.

1 participant