You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: changed the default values of enable_app_checks and enable_jmx to false to align with sysdig chart default. Renamed the input kernel_module_image_tag_digest -> kernel_module_image_digest and added validation to only allow image digest value. Added fix was causing incorrect digest value to be set for the kernal module image. (#271)
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ No modules.
111
111
| <aname="input_access_key"></a> [access\_key](#input\_access\_key)| Access key used by the agent to communicate with the instance. Either `access_key` or `existing_access_key_secret_name` is required. This value will be stored in a new secret on the cluster if passed. If you want to use this agent for only metrics or metrics with security and compliance, use a manager key scoped to the IBM Cloud Monitoring instance. If you only want to use the agent for security and compliance use a manager key scoped to the Security and Compliance Center Workload Protection instance. |`string`|`null`| no |
112
112
| <aname="input_add_cluster_name"></a> [add\_cluster\_name](#input\_add\_cluster\_name)| If true, configure the agent to associate a tag containing the cluster name. This tag is added in the format `ibm-containers-kubernetes-cluster-name: cluster_name`. |`bool`|`true`| no |
113
113
| <aname="input_agent_image_repository"></a> [agent\_image\_repository](#input\_agent\_image\_repository)| The image repository to pull the agent image from. |`string`|`"agent-slim"`| no |
114
-
| <aname="input_agent_image_tag_digest"></a> [agent\_image\_tag\_digest](#input\_agent\_image\_tag\_digest)| The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`. |`string`|`"14.2.5@sha256:64b9d77bbd1bb22f97a74198144dcfea62bb5cee7629091252694e9040058035"`| no |
114
+
| <aname="input_agent_image_tag_digest"></a> [agent\_image\_tag\_digest](#input\_agent\_image\_tag\_digest)| The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `kernel_module_image_digest`. |`string`|`"14.2.5@sha256:64b9d77bbd1bb22f97a74198144dcfea62bb5cee7629091252694e9040058035"`| no |
115
115
| <aname="input_agent_limits_cpu"></a> [agent\_limits\_cpu](#input\_agent\_limits\_cpu)| Specify CPU resource limits for the agent. For more info, see https://cloud.ibm.com/docs/monitoring?topic=monitoring-resource_requirements|`string`|`"1"`| no |
116
116
| <aname="input_agent_limits_memory"></a> [agent\_limits\_memory](#input\_agent\_limits\_memory)| Specify memory resource limits for the agent. For more info, see https://cloud.ibm.com/docs/monitoring?topic=monitoring-resource_requirements|`string`|`"1024Mi"`| no |
117
117
| <aname="input_agent_mode"></a> [agent\_mode](#input\_agent\_mode)| The operational mode for the monitoring agent. [Learn more](https://docs.sysdig.com/en/docs/administration/configure-agent-modes/). |`string`|`null`| no |
@@ -134,18 +134,18 @@ No modules.
134
134
| <aname="input_cluster_shield_requests_memory"></a> [cluster\_shield\_requests\_memory](#input\_cluster\_shield\_requests\_memory)| Specify memory resource requests for the cluster shield pods. |`string`|`"512Mi"`| no |
135
135
| <aname="input_container_filter"></a> [container\_filter](#input\_container\_filter)| Customize the agent to exclude containers from metrics collection. For more info, see https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_filter_data| <pre>list(object({<br/> type = string<br/> parameter = string<br/> name = string<br/> }))</pre> |`[]`| no |
136
136
| <aname="input_deployment_tag"></a> [deployment\_tag](#input\_deployment\_tag)| Sets a global tag that will be included in the components. It represents the mechanism from where the components have been installed (terraform, local...). |`string`|`"terraform"`| no |
137
-
| <aname="input_enable_app_checks"></a> [enable\_app\_checks](#input\_enable\_app\_checks)| Enable application checks to collect metrics from specific applications like MongoDB, Redis, etc. Set to false to reduce error logs in environments where these applications are not present or monitored. |`bool`|`true`| no |
137
+
| <aname="input_enable_app_checks"></a> [enable\_app\_checks](#input\_enable\_app\_checks)| Enable application checks to collect metrics from specific applications like MongoDB, Redis, etc. Set to false to reduce error logs in environments where these applications are not present or monitored. |`bool`|`false`| no |
138
138
| <aname="input_enable_host_scanner"></a> [enable\_host\_scanner](#input\_enable\_host\_scanner)| Enable host scanning to detect vulnerabilities and identify the resolution priority based on available fixed versions and severity. Requires a Security and Compliance Center Workload Protection instance to view results. |`bool`|`true`| no |
139
-
| <aname="input_enable_jmx"></a> [enable\_jmx](#input\_enable\_jmx)| Enable JMX metrics collection from Java Virtual Machines. Set to false to reduce resource usage and error logs in environments without Java applications. |`bool`|`true`| no |
139
+
| <aname="input_enable_jmx"></a> [enable\_jmx](#input\_enable\_jmx)| Enable JMX metrics collection from Java Virtual Machines. Set to false to reduce resource usage and error logs in environments without Java applications. |`bool`|`false`| no |
140
140
| <aname="input_enable_kspm_analyzer"></a> [enable\_kspm\_analyzer](#input\_enable\_kspm\_analyzer)| Enable Kubernetes Security Posture Management (KSPM) analyzer. Requires a Security and Compliance Center Workload Protection instance to view results. |`bool`|`true`| no |
141
141
| <aname="input_enable_universal_ebpf"></a> [enable\_universal\_ebpf](#input\_enable\_universal\_ebpf)| Deploy monitoring agent with universal extended Berkeley Packet Filter (eBPF) enabled. It requires kernel version 5.8+. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-monitoring-agent/blob/main/solutions/fully-configurable/DA-docs.md#when-to-enable-enable_universal_ebpf)|`bool`|`true`| no |
142
142
| <aname="input_existing_access_key_secret_name"></a> [existing\_access\_key\_secret\_name](#input\_existing\_access\_key\_secret\_name)| An alternative to using `access_key`. Specify the name of an existing Kubernetes secret containing the access key in the same namespace that is defined in the `namespace` input. Either `access_key` or `existing_access_key_secret_name` is required. |`string`|`null`| no |
143
143
| <aname="input_image_registry_base_url"></a> [image\_registry\_base\_url](#input\_image\_registry\_base\_url)| The image registry base URL to pull all images from. For example `icr.io` or `quay.io`. |`string`|`"icr.io"`| no |
144
144
| <aname="input_image_registry_namespace"></a> [image\_registry\_namespace](#input\_image\_registry\_namespace)| The namespace within the image registry to pull all images from. |`string`|`"ext/sysdig"`| no |
145
145
| <aname="input_instance_region"></a> [instance\_region](#input\_instance\_region)| The region of the IBM Cloud Monitoring instance that you want to send metrics to. The region value is used to construct the ingestion and api endpoints. If you are only using the agent for security and compliance monitoring, set this to the region of your IBM Cloud Security and Compliance Center Workload Protection instance. If you have both Cloud Monitoring and Security and Compliance Center Workload Protection instances, the instances must be connected and must be in the same region to use the same agent. |`string`| n/a | yes |
146
146
| <aname="input_is_vpc_cluster"></a> [is\_vpc\_cluster](#input\_is\_vpc\_cluster)| Specify true if the target cluster is a VPC cluster, false if it is a classic cluster. |`bool`|`true`| no |
147
+
| <aname="input_kernel_module_image_digest"></a> [kernel\_module\_image\_digest](#input\_kernel\_module\_image\_digest)| The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `agent_image_tag_digest`. Note: Only digest format is supported; image tag is not supported. |`string`|`"14.2.5@sha256:0345968a77f8eb64a00f2b06af3c40bf3df78d34125b46c9788a9e73f8ddbb1a"`| no |
147
148
| <aname="input_kernel_module_image_repository"></a> [kernel\_module\_image\_repository](#input\_kernel\_module\_image\_repository)| The image repository to pull the agent kernel module initContainer image from. |`string`|`"agent-kmodule"`| no |
148
-
| <aname="input_kernel_module_image_tag_digest"></a> [kernel\_module\_image\_tag\_digest](#input\_kernel\_module\_image\_tag\_digest)| The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`|`string`|`"14.2.5@sha256:0345968a77f8eb64a00f2b06af3c40bf3df78d34125b46c9788a9e73f8ddbb1a"`| no |
149
149
| <aname="input_max_surge"></a> [max\_surge](#input\_max\_surge)| The number of pods that can be created above the desired amount of daemonset pods during an update. If `max_surge` is set to null, the `max_surge` setting is ignored. The variable accepts absolute number or percentage value(e.g., '1' or '10%'). |`string`|`null`| no |
150
150
| <aname="input_max_unavailable"></a> [max\_unavailable](#input\_max\_unavailable)| The maximum number of pods that can be unavailable during a DaemonSet rolling update. Accepts absolute number or percentage (e.g., '1' or '10%'). |`string`|`"1"`| no |
151
151
| <aname="input_metrics_filter"></a> [metrics\_filter](#input\_metrics\_filter)| To filter custom metrics you can specify which metrics to include and exclude. For more info, see https://cloud.ibm.com/docs/monitoring?topic=monitoring-change_kube_agent#change_kube_agent_inc_exc_metrics| <pre>list(object({<br/> include = optional(string)<br/> exclude = optional(string)<br/> }))</pre> |`[]`| no |
Copy file name to clipboardExpand all lines: ibm_catalog.json
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -431,7 +431,14 @@
431
431
"key": "kernel_module_image_repository"
432
432
},
433
433
{
434
-
"key": "kernel_module_image_tag_digest"
434
+
"key": "kernel_module_image_digest",
435
+
"value_constraints": [
436
+
{
437
+
"type": "regex",
438
+
"description": "The image digest must be in the format 'X.Y.Z@sha256:xxxxx' (64 hex characters). Only digest format is supported; image tag is not supported.",
description="The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`."
215
+
description="The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `kernel_module_image_digest`."
216
216
type=string
217
217
# This version is automatically managed by renovate automation - do not remove the datasource comment on next line
description="The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`"
222
+
variable"kernel_module_image_digest" {
223
+
description="The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `agent_image_tag_digest`. Note: Only digest format is supported; image tag is not supported."
224
224
type=string
225
225
# This version is automatically managed by renovate automation - do not remove the datasource comment on next line
error_message="kernel_module_image_digest must be in the format 'X.Y.Z@sha256:xxxxx' (64 hex characters). Only digest format is supported; image tag is not supported."
description="Enable application checks to collect metrics from specific applications like MongoDB, Redis, etc. Set to false to reduce error logs in environments where these applications are not present or monitored."
358
-
default=true
362
+
default=false
359
363
}
360
364
361
365
variable"enable_jmx" {
362
366
type=bool
363
367
description="Enable JMX metrics collection from Java Virtual Machines. Set to false to reduce resource usage and error logs in environments without Java applications."
description="The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`."
191
+
description="The image tag or digest of agent image to use. If using digest, it must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `kernel_module_image_digest`."
192
192
type=string
193
193
# This version is automatically managed by renovate automation - do not remove the datasource comment on next line
description="The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`"
198
+
variable"kernel_module_image_digest" {
199
+
description="The image digest to use for the agent kernel module used by the initContainer. Must be in the format of `X.Y.Z@sha256:xxxxx`. This version must match the version being used in the `agent_image_tag_digest`. Note: Only digest format is supported; image tag is not supported."
200
200
type=string
201
201
# This version is automatically managed by renovate automation - do not remove the datasource comment on next line
error_message="kernel_module_image_digest must be in the format 'X.Y.Z@sha256:xxxxx' (64 hex characters). Only digest format is supported; image tag is not supported."
description="Enable application checks to collect metrics from specific applications like MongoDB, Redis, etc. Set to false to reduce error logs in environments where these applications are not present or monitored."
363
-
default=true
367
+
default=false
364
368
}
365
369
366
370
variable"enable_jmx" {
367
371
type=bool
368
372
description="Enable JMX metrics collection from Java Virtual Machines. Set to false to reduce resource usage and error logs in environments without Java applications."
0 commit comments