Move ruler rules to seperate folder (#3323)

Removing subpaths from deployments.
This commit is contained in:
Charlie Nederhoed
2020-08-07 08:41:56 +02:00
committed by GitHub
parent 4b7a440ad9
commit 4f0976fdbd
5 changed files with 2 additions and 8 deletions
@@ -83,7 +83,6 @@ spec:
mountPath: /conf
{{- else }}
mountPath: /conf/objstore.yml
subPath: objstore.yml
{{- end }}
volumes:
- name: objstore-config
@@ -101,7 +101,6 @@ spec:
mountPath: /conf
{{- else }}
mountPath: /conf/objstore.yml
subPath: objstore.yml
{{- end }}
- name: data
mountPath: /data
@@ -110,7 +110,6 @@ spec:
{{- if or (include "thanos.querier.createSDConfigmap" .) .Values.querier.existingSDConfigmap }}
- name: sd-config
mountPath: /conf/servicediscovery.yml
subPath: servicediscovery.yml
{{- end }}
{{- if .Values.querier.grpcTLS.server.secure }}
- name: tls-server
@@ -88,7 +88,7 @@ spec:
- --label=ruler_cluster="{{ .Values.ruler.clusterName }}"
- --alert.label-drop="replica"
- --objstore.config-file=/conf/objstore.yml
- --rule-file=/conf/ruler.yml
- --rule-file=/conf/rules/ruler.yml
{{- range .Values.ruler.queries }}
- --query={{ . }}
{{- end }}
@@ -118,14 +118,12 @@ spec:
{{- end }}
volumeMounts:
- name: ruler-config
mountPath: /conf/ruler.yml
subPath: ruler.yml
mountPath: /conf/rules/ruler.yml
- name: objstore-config
{{- if .Values.existingObjstoreSecretItems }}
mountPath: /conf
{{- else }}
mountPath: /conf/objstore.yml
subPath: objstore.yml
{{- end }}
- name: data
mountPath: /data
@@ -102,7 +102,6 @@ spec:
mountPath: /conf
{{- else }}
mountPath: /conf/objstore.yml
subPath: objstore.yml
{{- end }}
- name: data
mountPath: /data