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

Loki/Change local storage directory to /loki/ and fix permissions (#1833) #1834

Merged
merged 1 commit into from
Mar 23, 2020

Conversation

Mario-Hofstaetter
Copy link
Contributor

What this PR does / why we need it:
The default persistent directory /tmp/loki/ in local-config.yaml cannot be a named docker volume because of permissions issues (see #1833)

Directory changed to /loki/ and set permissions for loki:loki

Which issue(s) this PR fixes:
Fixes #1833

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

@CLAassistant
Copy link

CLAassistant commented Mar 22, 2020

CLA assistant check
All committers have signed the CLA.

@codecov-io
Copy link

Codecov Report

Merging #1834 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1834      +/-   ##
==========================================
+ Coverage   64.82%   64.83%   +0.01%     
==========================================
  Files         122      122              
  Lines        9237     9237              
==========================================
+ Hits         5988     5989       +1     
+ Misses       2834     2833       -1     
  Partials      415      415
Impacted Files Coverage Δ
pkg/promtail/targets/tailer.go 76.13% <0%> (-2.28%) ⬇️
pkg/promtail/targets/filetarget.go 70.55% <0%> (+1.84%) ⬆️

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

Permission denied when using named volume for loki storage
4 participants