-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ability to disable checksum check #71
Comments
Thanks for reaching out. I very much understand your use-case - one idea/thought at this point: Would it make sense to provide a custom checksum instead of just disabling the check? One upside could be, that instead of fetching the checksums per default (which is also prone to Man-in-the-middle attacks). One can provide the checksum upfront to ensure that the correct artifact is delivered. What do you think? |
I think that the ability to provide a custom checksum is a great idea. I would be happy to work on it. |
@Surgery-Jake |
Due to promtail not having support for journald (grafana/loki#1459). I have to build the binary locally and upload to a file server. This means that the checksum part fails when changing
promtail_dist_url
.To get around this I added a variable called
promtail_check_checksum
and replacedansible-role-promtail/tasks/install.yml
Line 66 in 8adddeb
checksum: "{{ 'sha256:__promtail_checksum' if promtail_check_checksum else '' }}"
I don't know if this is something worth adding as a PR or if I should just leave the role edited locally?
The text was updated successfully, but these errors were encountered: