Skip to content

Commit

Permalink
Change function for mounting configmap in promtail (#2494)
Browse files Browse the repository at this point in the history
  • Loading branch information
primeroz authored Aug 14, 2020
1 parent 572c248 commit 37fd9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion production/ksonnet/promtail/promtail.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ k + config + scrape_config {
promtail_daemonset:
daemonSet.new($._config.promtail_pod_name, [$.promtail_container]) +
daemonSet.mixin.spec.template.spec.withServiceAccount($._config.promtail_cluster_role_name) +
$.util.configVolumeMount($._config.promtail_configmap_name, '/etc/promtail') +
$.util.configMapVolumeMount($.promtail_config_map, '/etc/promtail') +
$.util.hostVolumeMount('varlog', '/var/log', '/var/log') +
$.util.hostVolumeMount('varlibdockercontainers', $._config.promtail_config.container_root_path + '/containers', $._config.promtail_config.container_root_path + '/containers', readOnly=true),
}

0 comments on commit 37fd9a6

Please sign in to comment.