Skip to content

Commit

Permalink
Using Secret instead of ConfigMap to store loki config
Browse files Browse the repository at this point in the history
By default loki helm chart stores the config in a ConfigMap. For backends that require credentials this is unsafe. Setting the `configStorageType` to secret will store the entire loki config in a Secret.

Signed-off-by: Chris Blumentritt <[email protected]>
  • Loading branch information
cblument authored and cloudnull committed Mar 8, 2024
1 parent 5b130b8 commit b80c725
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions helm-configs/loki/loki-helm-minio-overrides-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ minio:
enabled: true
loki:
auth_enabled: false
configStorageType: Secret
1 change: 1 addition & 0 deletions helm-configs/loki/loki-helm-s3-overrides-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ minio:
enabled: false
loki:
auth_enabled: false
configStorageType: Secret
storage:
bucketNames:
chunks: < CHUNKS BUCKET NAME > # TODO: Update with relevant bucket name for chunks
Expand Down
1 change: 1 addition & 0 deletions helm-configs/loki/loki-helm-swift-overrides-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ minio:
enabled: false
loki:
auth_enabled: false
configStorageType: Secret
storage:
bucketNames:
chunks: chunks
Expand Down

0 comments on commit b80c725

Please sign in to comment.