mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-23 03:56:24 +10:00
Move ruler rules to seperate folder (#3323)
Removing subpaths from deployments.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user