v1.18.0
1.18.0 (2024-01-15)
Features (#268) (ed52f44)
- 
Added an initContainer which sets the permissions on /var/lib/logdna which are required for the agent container to use the database which is required to enable the loopback feature. 
- 
Set both containers to imagePullPolicy: IfNotPresentas when set toAlwaysit can prevent a pod from starting if the image registry can not be reached.
- 
The following new variables are available for extra customisation: cloud_monitoring_agent_tolerations,cloud_monitoring_agent_namespace,cloud_monitoring_agent_name,cloud_monitoring_secret_name,log_analysis_agent_tolerations,log_analysis_agent_namespace,log_analysis_agent_name,log_analysis_secret_name
- 
The following variables have been removed: log_analysis_instance_name,log_analysis_resource_group_id,cloud_monitoring_instance_name,cloud_monitoring_resource_group_idand have been replaced bylog_analysis_endpoint_type,log_analysis_instance_region,cloud_monitoring_endpoint_typeandcloud_monitoring_instance_region. This means that the instance no longer has to exist in the same account where the cluster agents are being installed. Below you can see how to migrate from a previous version to this version, keeping the same config:module "observability_agents" { source = "terraform-ibm-modules/observability-agents/ibm" version = "1.18.0" cluster_id = "cmn4fghu0egbk0hvu8o0" cluster_resource_group_id = "07b6e588788a4631841e3fg5d0345dct" # log_analysis_instance_name = "my-instance-name" # removed in 1.18.0 # log_analysis_resource_group_id = "7ff5bf6c85cd6f86bef456280f341d5g" # removed in 1.18.0 log_analysis_ingestion_key = "XXX" log_analysis_instance_region = "us-south" # added in 1.18.0 log_analysis_endpoint_type = "private" # added in 1.18.0 (defaults to private if not set) # cloud_monitoring_instance_name = "my-instance-name" # removed in 1.18.0 # cloud_monitoring_resource_group_id = "0cd01df7b0d47896bbccc426ef7442fch" # removed in 1.18.0 cloud_monitoring_access_key = "XXX" cloud_monitoring_instance_region = "us-south" # added in 1.18.0 cloud_monitoring_endpoint_type = "private" # added in 1.18.0 (defaults to private if not set) }