Skip to content

Commit

Permalink
fix: kube-prom-stack thanos-ruler objectstoreConfigs
Browse files Browse the repository at this point in the history
Signed-off-by: ThameezBo <[email protected]>
  • Loading branch information
thameezb committed Oct 18, 2023
1 parent 30dada6 commit b48ee42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 51.9.1
version: 51.9.2
appVersion: v0.68.0
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ spec:
{{- end }}
{{- if .Values.thanosRuler.thanosRulerSpec.objectStorageConfig }}
objectStorageConfig:
{{ toYaml .Values.thanosRuler.thanosRulerSpec.objectStorageConfig | indent 4 }}
key: objectstore-configs.yaml
name: {{ template "kube-prometheus-stack.thanosRuler.name" . }}
{{- end }}
{{- if .Values.thanosRuler.thanosRulerSpec.labels }}
labels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ data:
{{- if .Values.thanosRuler.thanosRulerSpec.alertmanagersConfig }}
alertmanager-configs.yaml: {{ toYaml .Values.thanosRuler.thanosRulerSpec.alertmanagersConfig | b64enc | quote }}
{{- end }}
{{- if .Values.thanosRuler.thanosRulerSpec.objectStorageConfig }}
objectstore-configs.yaml: {{ toYaml .Values.thanosRuler.thanosRulerSpec.objectStorageConfig | b64enc | quote }}
{{- end }}
{{- end }}

0 comments on commit b48ee42

Please sign in to comment.