Skip to content

Commit ef80ece

Browse files
authored
feat: updated the default helm repo to oci://icr.io/ibm-observe which does not require authentication (#182)
1 parent 9e0cb58 commit ef80ece

File tree

6 files changed

+9
-29
lines changed

6 files changed

+9
-29
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,7 @@ provider "helm" {
4747
token = data.ibm_container_cluster_config.cluster_config.token
4848
cluster_ca_certificate = data.ibm_container_cluster_config.cluster_config.ca_certificate
4949
}
50-
# IBM Cloud credentials are required to authenticate to the helm repo
51-
registry {
52-
url = "oci://icr.io/ibm/observe/logs-agent-helm"
53-
username = "iamapikey"
54-
password = "xxxxxxxxxxxx" # pragma: allowlist secret
55-
}
50+
# No registry authentication required - using public registries
5651
}
5752
5853
provider "kubernetes" {
@@ -123,7 +118,7 @@ No modules.
123118
| <a name="input_log_filters"></a> [log\_filters](#input\_log\_filters) | List of additional filters to be applied on logs. [Learn more](https://github.com/terraform-ibm-modules/terraform-ibm-logs-agent/blob/main/solutions/fully-configurable/DA-types.md#configuring-log-filters). | `any` | `[]` | no |
124119
| <a name="input_logs_agent_additional_metadata"></a> [logs\_agent\_additional\_metadata](#input\_logs\_agent\_additional\_metadata) | The list of additional metadata fields to add to the routed logs. | <pre>list(object({<br/> key = optional(string)<br/> value = optional(string)<br/> }))</pre> | `[]` | no |
125120
| <a name="input_logs_agent_chart"></a> [logs\_agent\_chart](#input\_logs\_agent\_chart) | The name of the Helm chart to deploy. | `string` | `"logs-agent-helm"` | no |
126-
| <a name="input_logs_agent_chart_location"></a> [logs\_agent\_chart\_location](#input\_logs\_agent\_chart\_location) | The location of the Logs agent helm chart. | `string` | `"oci://icr.io/ibm/observe"` | no |
121+
| <a name="input_logs_agent_chart_location"></a> [logs\_agent\_chart\_location](#input\_logs\_agent\_chart\_location) | The location of the Logs agent helm chart. | `string` | `"oci://icr.io/ibm-observe"` | no |
127122
| <a name="input_logs_agent_chart_version"></a> [logs\_agent\_chart\_version](#input\_logs\_agent\_chart\_version) | The version of the Helm chart to deploy. | `string` | `"1.6.3"` | no |
128123
| <a name="input_logs_agent_enable_scc"></a> [logs\_agent\_enable\_scc](#input\_logs\_agent\_enable\_scc) | Whether to enable creation of Security Context Constraints in Openshift. When installing on an OpenShift cluster, this setting is mandatory to configure permissions for pods within your cluster. | `bool` | `true` | no |
129124
| <a name="input_logs_agent_exclude_log_source_paths"></a> [logs\_agent\_exclude\_log\_source\_paths](#input\_logs\_agent\_exclude\_log\_source\_paths) | The list of log sources to exclude. Specify the paths that the Logs agent ignores. | `list(string)` | `[]` | no |

examples/logs-agent-iks/provider.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ provider "helm" {
99
token = data.ibm_container_cluster_config.cluster_config.token
1010
cluster_ca_certificate = data.ibm_container_cluster_config.cluster_config.ca_certificate
1111
}
12-
# IBM Cloud credentials are required to authenticate to the helm repo
13-
registries = [{
14-
url = "oci://icr.io/ibm/observe/logs-agent-helm"
15-
username = "iamapikey"
16-
password = var.ibmcloud_api_key
17-
}]
12+
# No registry authentication required - using public registries
1813
}
1914

2015
provider "kubernetes" {

examples/logs-agent-ocp/provider.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ provider "helm" {
99
token = data.ibm_container_cluster_config.cluster_config.token
1010
cluster_ca_certificate = data.ibm_container_cluster_config.cluster_config.ca_certificate
1111
}
12-
# IBM Cloud credentials are required to authenticate to the helm repo
13-
registries = [{
14-
url = "oci://icr.io/ibm/observe/logs-agent-helm"
15-
username = "iamapikey"
16-
password = var.ibmcloud_api_key
17-
}]
12+
# No registry authentication required - using public registries
1813
}
1914

2015
provider "kubernetes" {

solutions/fully-configurable/provider.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ provider "helm" {
1515
token = data.ibm_container_cluster_config.cluster_config.token
1616
cluster_ca_certificate = data.ibm_container_cluster_config.cluster_config.ca_certificate
1717
}
18-
# IBM Cloud credentials are required to authenticate to the helm repo
19-
registries = [{
20-
url = "oci://icr.io/ibm/observe/logs-agent-helm"
21-
username = "iamapikey"
22-
password = var.ibmcloud_api_key
23-
}]
18+
# No registry authentication required - using public registries
2419
}
2520

2621
# Retrieve information about an existing VPC cluster

solutions/fully-configurable/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ variable "logs_agent_chart" {
8484
variable "logs_agent_chart_location" {
8585
description = "The location of the Logs agent helm chart."
8686
type = string
87-
default = "oci://icr.io/ibm/observe" # Replace with the actual repository URL if different
87+
default = "oci://icr.io/ibm-observe" # Public registry - no authentication required
8888
nullable = false
8989
}
9090

9191
variable "logs_agent_chart_version" {
9292
description = "The version of the Helm chart to deploy."
9393
type = string
94-
default = "1.6.3" # datasource: icr.io/ibm/observe/logs-agent-helm
94+
default = "1.6.3" # datasource: icr.io/ibm-observe/logs-agent-helm
9595
nullable = false
9696
}
9797

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ variable "logs_agent_chart" {
6565
variable "logs_agent_chart_location" {
6666
description = "The location of the Logs agent helm chart."
6767
type = string
68-
default = "oci://icr.io/ibm/observe" # Replace with the actual repository URL if different
68+
default = "oci://icr.io/ibm-observe" # Public registry - no authentication required
6969
nullable = false
7070
}
7171

7272
variable "logs_agent_chart_version" {
7373
description = "The version of the Helm chart to deploy."
7474
type = string
75-
default = "1.6.3" # datasource: icr.io/ibm/observe/logs-agent-helm
75+
default = "1.6.3" # datasource: icr.io/ibm-observe/logs-agent-helm
7676
nullable = false
7777
}
7878

0 commit comments

Comments
 (0)