@@ -58,7 +58,7 @@ local configMap = k.core.v1.configMap;
5858 configMap.withData({
5959 'alerts.rules' : k.util.manifestYaml(root.prometheus_zero.alerts),
6060 }),
61- configMap.new('%s-rules -0' % self .name) +
61+ configMap.new('%s-recording -0' % self .name) +
6262 configMap.withData({
6363 'recording.rules' : k.util.manifestYaml(root.prometheus_zero.rules),
6464 }),
@@ -71,7 +71,7 @@ local configMap = k.core.v1.configMap;
7171 configMap.withData({
7272 'alerts.rules' : k.util.manifestYaml(root.prometheus_one.alerts),
7373 }),
74- configMap.new('%s-rules -1' % self .name) +
74+ configMap.new('%s-recording -1' % self .name) +
7575 configMap.withData({
7676 'recording.rules' : k.util.manifestYaml(root.prometheus_one.rules),
7777 }),
@@ -80,10 +80,10 @@ local configMap = k.core.v1.configMap;
8080 prometheus_config_mount::
8181 k.util.configVolumeMount('%s-config-0' % self .name, '/etc/prometheus-0' )
8282 + k.util.configVolumeMount('%s-alerts-0' % self .name, '/etc/prometheus-0/alerts' )
83- + k.util.configVolumeMount('%s-rules -0' % self .name, '/etc/prometheus-0/rules ' )
83+ + k.util.configVolumeMount('%s-recording -0' % self .name, '/etc/prometheus-0/recording ' )
8484 + k.util.configVolumeMount('%s-config-1' % self .name, '/etc/prometheus-1' )
8585 + k.util.configVolumeMount('%s-alerts-1' % self .name, '/etc/prometheus-1/alerts' )
86- + k.util.configVolumeMount('%s-rules -1' % self .name, '/etc/prometheus-1/rules ' )
86+ + k.util.configVolumeMount('%s-recording -1' % self .name, '/etc/prometheus-1/recording ' )
8787 ,
8888
8989 prometheus_container+:: container.withEnv([
0 commit comments