Skip to content

Commit

Permalink
Add missing description to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cPanelRicky committed Oct 16, 2021
1 parent c650e1a commit 87f5bf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packs/promtail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If no custom configuration file is provided, a default template will be used whi
| <a name="input_version_tag"></a> [version\_tag](#input\_version\_tag) | The docker image version. For options, see https://hub.docker.com/grafana/promtail | `string` | `"latest"` | no |
| <a name="input_http_port"></a> [http\_port](#input\_http\_port) | The Nomad client port that routes to the Promtail. | `number` | `9080` | no |
| <a name="input_resources"></a> [resources](#input\_resources) | The resource to assign to the promtail service task. | <pre>object({<br> cpu = number<br> memory = number<br> })</pre> | <pre>{<br> "cpu": 200,<br> "memory": 256<br>}</pre> | no |
| <a name="input_config_file"></a> [config\_file](#input\_config\_file) | n/a | `string` | `""` | no |
| <a name="input_config_file"></a> [config\_file](#input\_config\_file) | Path to custom Promtail configuration file. | `string` | `""` | no |
| <a name="input_mount_journal"></a> [mount\_journal](#input\_mount\_journal) | Controls whether /var/log/journal is mounted in the container. If true, container will be run privileged. | `bool` | `true` | no |
| <a name="input_mount_machine_id"></a> [mount\_machine\_id](#input\_mount\_machine\_id) | Controls whether /etc/machine-id is mounted in the container. If true, container will be run privileged. | `bool` | `true` | no |
| <a name="input_privileged_container"></a> [privileged\_container](#input\_privileged\_container) | Run as a privileged container. Setting mount\_journal or mount\_machine\_id to true will override this. | `bool` | `false` | no |
Expand Down
1 change: 1 addition & 0 deletions packs/promtail/variables.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ variable "resources" {
}

variable "config_file" {
description = "Path to custom Promtail configuration file."
type = string
default = ""
}
Expand Down

0 comments on commit 87f5bf6

Please sign in to comment.