Skip to content

Commit

Permalink
plugins/s3: make s3 endpoint configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
asdwsda committed Mar 18, 2019
1 parent b8ae4ef commit 213e9a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/resources/plugins/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const S3Template = `
aws_sec_key {{ .aws_sec_key }}
s3_bucket {{ .s3_bucket }}
s3_region {{ .s3_region }}
{{- if .s3_endpoint }}
s3_endpoint {{ .s3_endpoint }}
force_path_style true # This prevents AWS SDK from breaking endpoint URL
{{- end }}
store_as gzip_command
path logs/${tag}/%Y/%m/%d/
Expand Down

0 comments on commit 213e9a8

Please sign in to comment.