Skip to content

Commit 7b0c654

Browse files
ocofaighfidel-ibm
authored andcommitted
address failing pre-commit hook
1 parent 43c3b7d commit 7b0c654

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ You need the following permissions to run this module.
146146
| <a name="input_logs_agent_log_source_namespaces"></a> [logs\_agent\_log\_source\_namespaces](#input\_logs\_agent\_log\_source\_namespaces) | The list of namespaces from which logs should be forwarded by agent. If namespaces are not listed, logs from all namespaces will be sent. | `list(string)` | `[]` | no |
147147
| <a name="input_logs_agent_name"></a> [logs\_agent\_name](#input\_logs\_agent\_name) | The name of the Logs agent. The name is used in all Kubernetes and Helm resources in the cluster. | `string` | `"logs-agent"` | no |
148148
| <a name="input_logs_agent_namespace"></a> [logs\_agent\_namespace](#input\_logs\_agent\_namespace) | The namespace where the Logs agent is deployed. The default value is `ibm-observe`. | `string` | `"ibm-observe"` | no |
149-
| <a name="input_logs_agent_resources"></a> [logs\_agent\_resources](#input\_logs\_agent\_resources) | The resources configuration for cpu/memory/storage | <pre>object({<br> limits = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> requests = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> })</pre> | <pre>{<br> "limits": {<br> "cpu": "500m",<br> "ephemeral_storage": "10Gi",<br> "memory": "3Gi"<br> },<br> "requests": {<br> "cpu": "100m",<br> "ephemeral_storage": "2Gi",<br> "memory": "1Gi"<br> }<br>}</pre> | no |
149+
| <a name="input_logs_agent_resources"></a> [logs\_agent\_resources](#input\_logs\_agent\_resources) | The resources configuration for cpu/memory/storage. [Learn More](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-helm-template-clusters#agent-helm-template-clusters-chart-options-resources) | <pre>object({<br> limits = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> requests = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> })</pre> | <pre>{<br> "limits": {<br> "cpu": "500m",<br> "ephemeral_storage": "10Gi",<br> "memory": "3Gi"<br> },<br> "requests": {<br> "cpu": "100m",<br> "ephemeral_storage": "2Gi",<br> "memory": "1Gi"<br> }<br>}</pre> | no |
150150
| <a name="input_logs_agent_selected_log_source_paths"></a> [logs\_agent\_selected\_log\_source\_paths](#input\_logs\_agent\_selected\_log\_source\_paths) | The list of specific log sources paths. Logs will only be collected from the specified log source paths. If no paths are specified, it will send logs from `/var/log/containers`. | `list(string)` | `[]` | no |
151151
| <a name="input_logs_agent_tolerations"></a> [logs\_agent\_tolerations](#input\_logs\_agent\_tolerations) | List of tolerations to apply to Logs agent. The default value means a pod will run on every node. | <pre>list(object({<br> key = optional(string)<br> operator = optional(string)<br> value = optional(string)<br> effect = optional(string)<br> tolerationSeconds = optional(number)<br> }))</pre> | <pre>[<br> {<br> "operator": "Exists"<br> }<br>]</pre> | no |
152152
| <a name="input_logs_agent_trusted_profile"></a> [logs\_agent\_trusted\_profile](#input\_logs\_agent\_trusted\_profile) | The IBM Cloud trusted profile ID. Used only when `logs_agent_iam_mode` is set to `TrustedProfile`. The trusted profile must have an IBM Cloud Logs `Sender` role. | `string` | `null` | no |

modules/logs-agent/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ No modules.
9696
| <a name="input_logs_agent_log_source_namespaces"></a> [logs\_agent\_log\_source\_namespaces](#input\_logs\_agent\_log\_source\_namespaces) | The list of namespaces from which logs should be forwarded by agent. If namespaces are not listed, logs from all namespaces will be sent. | `list(string)` | `[]` | no |
9797
| <a name="input_logs_agent_name"></a> [logs\_agent\_name](#input\_logs\_agent\_name) | The name of the Logs agent. The name is used in all Kubernetes and Helm resources in the cluster. | `string` | `"logs-agent"` | no |
9898
| <a name="input_logs_agent_namespace"></a> [logs\_agent\_namespace](#input\_logs\_agent\_namespace) | The namespace where the Logs agent is deployed. The default value is `ibm-observe`. | `string` | `"ibm-observe"` | no |
99-
| <a name="input_logs_agent_resources"></a> [logs\_agent\_resources](#input\_logs\_agent\_resources) | The resources configuration for cpu/memory/storage | <pre>object({<br> limits = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> requests = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> })</pre> | <pre>{<br> "limits": {<br> "cpu": "500m",<br> "ephemeral_storage": "10Gi",<br> "memory": "3Gi"<br> },<br> "requests": {<br> "cpu": "100m",<br> "ephemeral_storage": "2Gi",<br> "memory": "1Gi"<br> }<br>}</pre> | no |
99+
| <a name="input_logs_agent_resources"></a> [logs\_agent\_resources](#input\_logs\_agent\_resources) | The resources configuration for cpu/memory/storage. [Learn More](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-helm-template-clusters#agent-helm-template-clusters-chart-options-resources) | <pre>object({<br> limits = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> requests = object({<br> cpu = string<br> memory = string<br> ephemeral_storage = string<br> })<br> })</pre> | <pre>{<br> "limits": {<br> "cpu": "500m",<br> "ephemeral_storage": "10Gi",<br> "memory": "3Gi"<br> },<br> "requests": {<br> "cpu": "100m",<br> "ephemeral_storage": "2Gi",<br> "memory": "1Gi"<br> }<br>}</pre> | no |
100100
| <a name="input_logs_agent_selected_log_source_paths"></a> [logs\_agent\_selected\_log\_source\_paths](#input\_logs\_agent\_selected\_log\_source\_paths) | The list of specific log sources paths. Logs will only be collected from the specified log source paths. If no paths are specified, it will send logs from `/var/log/containers`. | `list(string)` | `[]` | no |
101101
| <a name="input_logs_agent_tolerations"></a> [logs\_agent\_tolerations](#input\_logs\_agent\_tolerations) | List of tolerations to apply to Logs agent. The default value means a pod will run on every node. | <pre>list(object({<br> key = optional(string)<br> operator = optional(string)<br> value = optional(string)<br> effect = optional(string)<br> tolerationSeconds = optional(number)<br> }))</pre> | <pre>[<br> {<br> "operator": "Exists"<br> }<br>]</pre> | no |
102102
| <a name="input_logs_agent_trusted_profile"></a> [logs\_agent\_trusted\_profile](#input\_logs\_agent\_trusted\_profile) | The IBM Cloud trusted profile ID. Used only when `logs_agent_iam_mode` is set to `TrustedProfile`. The trusted profile must have an IBM Cloud Logs `Sender` role. | `string` | `null` | no |

modules/logs-agent/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ variable "logs_agent_additional_metadata" {
155155
}
156156

157157
variable "logs_agent_resources" {
158-
description = "The resources configuration for cpu/memory/storage"
158+
description = "The resources configuration for cpu/memory/storage. [Learn More](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-helm-template-clusters#agent-helm-template-clusters-chart-options-resources)"
159159
type = object({
160160
limits = object({
161161
cpu = string

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ variable "logs_agent_additional_metadata" {
269269
}
270270

271271
variable "logs_agent_resources" {
272-
description = "The resources configuration for cpu/memory/storage"
272+
description = "The resources configuration for cpu/memory/storage. [Learn More](https://cloud.ibm.com/docs/cloud-logs?topic=cloud-logs-agent-helm-template-clusters#agent-helm-template-clusters-chart-options-resources)"
273273
type = object({
274274
limits = object({
275275
cpu = string

0 commit comments

Comments
 (0)