-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(loki): store logs in digitalocean spaces (#10)
feat(loki): create terraform state for loki to write to do spaces refactor(loki): move variables into specific file chore(pre-commit): add tfsec pre-commit hook feat(loki): terraform definition of loki job This adds a terraform definition for the Loki nomad job: main.tf creates: - logs bucket - consul kv store to keep the logs bucket and endpoint - nomad job definition The nomad job definition reads a nomad template for the loki configuration. Secrets are written into the template via environment variables for now, until I can enable Vault in the nomad clients. Signed-off-by: Bruce Becker <[email protected]>
- Loading branch information
1 parent
974872b
commit 12a2d15
Showing
9 changed files
with
334 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.4.0 | ||
rev: v4.3.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-merge-conflict | ||
|
||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook | ||
rev: v5.0.0 | ||
rev: v8.0.0 | ||
hooks: | ||
- id: commitlint | ||
stages: [commit-msg] | ||
additional_dependencies: ['@commitlint/config-conventional'] | ||
|
||
- repo: https://github.com/Yelp/detect-secrets | ||
rev: v1.1.0 | ||
rev: v1.2.0 | ||
hooks: | ||
- id: detect-secrets | ||
args: ['--baseline', '.secrets.baseline'] | ||
|
||
- repo: https://github.com/tfsec/tfsec | ||
rev: v1.26.3 | ||
hooks: | ||
- id: tfsec-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"plugins_used": [ | ||
{ | ||
"name": "ArtifactoryDetector" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.