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: enabled loading http-api-token from file #1728

Merged
merged 3 commits into from
Aug 12, 2023
Merged

Conversation

piksel
Copy link
Member

@piksel piksel commented Aug 12, 2023

This adds http-api-token to the list of arguments that watchtower tries to load from a file if they exist (fixes #1711).

Additionally, this adds some more (easier to find) docs about the usage (fixes #1390).

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01% 🎉

Comparison is base (139f672) 67.59% compared to head (58e9cd2) 67.60%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1728      +/-   ##
==========================================
+ Coverage   67.59%   67.60%   +0.01%     
==========================================
  Files          26       26              
  Lines        2379     2380       +1     
==========================================
+ Hits         1608     1609       +1     
  Misses        672      672              
  Partials       99       99              
Files Changed Coverage Δ
internal/flags/flags.go 85.20% <100.00%> (+0.02%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@piksel piksel merged commit 9f60766 into main Aug 12, 2023
11 checks passed
@piksel piksel deleted the feat/api-token-file-secret branch August 12, 2023 17:19
@lonix1
Copy link

lonix1 commented Aug 13, 2023

This is a great update. I'm going to try it right away. Thank you!

@lonix1
Copy link

lonix1 commented Aug 13, 2023

Ok I see the new docker image isn't released yet. Are you planning to release it soon?

@piksel
Copy link
Member Author

piksel commented Aug 13, 2023

You can try it using containrrr/watchtower:latest-dev, but the plan is to do a new release within a week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants