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 committed Mar 7, 2024
1 parent b44e09c commit c2f7189
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
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 c2f7189

Please sign in to comment.