UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Enable Thanos Object Level Storage

Merged Kirby Liu requested to merge thanos-sidecar into master
Compare and
4 files
+ 106
4
Compare changes
  • Side-by-side
  • Inline
Files
4
{{- if and .Values.monitoring.enabled (not ( .Values.addons.thanos.objectStorage.endpoint | empty)) }}
apiVersion: v1
kind: Secret
metadata:
name: monitoring-objstore-secret
namespace: monitoring
labels:
app.kubernetes.io/name: monitoring
app.kubernetes.io/component: "core"
{{- include "commonLabels" . | nindent 4}}
type: kubernetes.io/opaque
stringData:
objstore.yml: |
type: s3
config:
bucket: {{ .Values.addons.thanos.objectStorage.bucket }}
endpoint: {{ .Values.addons.thanos.objectStorage.endpoint }}
access_key: {{ .Values.addons.thanos.objectStorage.accessKey }}
secret_key: {{ .Values.addons.thanos.objectStorage.accessSecret }}
insecure: {{ .Values.addons.thanos.objectStorage.insecure }}
{{- end }}
Loading