Skip to content

Commit

Permalink
fix(operator): Set object storage for delete requests when using rete…
Browse files Browse the repository at this point in the history
…ntion (#13562)
  • Loading branch information
xperimental authored Jul 17, 2024
1 parent a88a0d3 commit 46de4c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions operator/internal/manifests/internal/config/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1833,6 +1833,7 @@ compactor:
retention_enabled: true
retention_delete_delay: 4h
retention_delete_worker_count: 50
delete_request_store: s3
frontend:
tail_proxy_url: http://loki-querier-http-lokistack-dev.default.svc.cluster.local:3100
compress_responses: true
Expand Down
7 changes: 5 additions & 2 deletions operator/internal/manifests/internal/config/loki-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,14 @@ common:
compactor:
compaction_interval: 2h
working_directory: {{ .StorageDirectory }}/compactor
{{- if .Retention.Enabled }}{{- with .Retention }}
{{- if .Retention.Enabled }}
{{- with .Retention }}
retention_enabled: true
retention_delete_delay: 4h
retention_delete_worker_count: {{.DeleteWorkerCount}}
{{- end }}{{- end }}
{{- end }}
delete_request_store: {{.ObjectStorage.SharedStore}}
{{- end }}
frontend:
tail_proxy_url: {{ .Querier.Protocol }}://{{ .Querier.FQDN }}:{{ .Querier.Port }}
{{- if .Gates.HTTPEncryption }}
Expand Down

0 comments on commit 46de4c1

Please sign in to comment.