oracle-quickstart / oci-kubernetes-monitoring

Kubernetes Monitoring with OCI Observability & Management Platform
https://www.oracle.com/manageability/logging-analytics/
Universal Permissive License v1.0
42 stars 32 forks source link

Helm release in default namespace #47

Open karthicgit opened 11 months ago

karthicgit commented 11 months ago

The helm release is deployed into default namespace through the stack all other resources are deployed into oci-onm namespace. Its not getting deployed into oci-onm namespace by default and there is no namespace specified in the resource helm_release in terraform file as well .https://github.com/oracle-quickstart/oci-kubernetes-monitoring/blob/main/terraform/modules/helm/helm.tf

Reference : https://registry.terraform.io/providers/hashicorp/helm/0.10.6/docs/resources/release

adil-jeel commented 11 months ago

You are required to provide the namespace as an input parameter, which can be done by setting the kubernetes_namespace variable to the desired value, as shown in the following code snippet:

kubernetes_namespace  = "oci-onm"

The namespace specification is not confined to the chart alone; instead, it is a customizable setting that can be passed externally.