From 11e73a2d6d0a450e465c73ae154fc7d2f2e5759e Mon Sep 17 00:00:00 2001 From: jk <77506864+1l1lIl1llll1Il1@users.noreply.github.com> Date: Tue, 6 Apr 2021 12:40:59 +0300 Subject: [PATCH] Connects Hono and Jaeger --- .gitignore | 1 - modules/container_deployment/hono_values.yaml | 2 +- modules/container_deployment/main.tf | 14 +++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 11d9050..865ec69 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ # .tfstate files *.tfstate *.tfstate.* -.terraform.lock.hcl # Crash log files crash.log diff --git a/modules/container_deployment/hono_values.yaml b/modules/container_deployment/hono_values.yaml index d5b6f05..5c8ea88 100644 --- a/modules/container_deployment/hono_values.yaml +++ b/modules/container_deployment/hono_values.yaml @@ -1,7 +1,7 @@ prometheus: createInstance: true jaegerBackendExample: - enabled: true + enabled: false grafana: enabled: true mongodb: diff --git a/modules/container_deployment/main.tf b/modules/container_deployment/main.tf index 45ccef9..fa9ed2e 100644 --- a/modules/container_deployment/main.tf +++ b/modules/container_deployment/main.tf @@ -53,28 +53,32 @@ resource "helm_release" "hono" { name = "deviceRegistryExample.mongoDBBasedDeviceRegistry.mongodb.password" value = "hono-secret" } + set { + name = "jaegerAgentConf.REPORTER_GRPC_HOST_PORT" + value = "jaeger-operator-jaeger-collector:14250" + } } resource "helm_release" "ingress-nginx" { - name = "ingress-nginx" + name = "ingress-nginx" repository = "https://kubernetes.github.io/ingress-nginx" chart = "ingress-nginx" } resource "helm_release" "jaeger-operator" { - name = "jaeger-operator" + name = "jaeger-operator" repository = "https://jaegertracing.github.io/helm-charts" chart = "jaeger-operator" set { - name = "jaeger.create" + name = "jaeger.create" value = "true" } set { - name = "metadata.name" + name = "metadata.name" value = "simple" } -} \ No newline at end of file +}