From 10373d56fed63e06514cf7c82a6c313e4fa9e0e7 Mon Sep 17 00:00:00 2001 From: Manuel Fragner Date: Sun, 9 Jul 2023 19:37:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(tracing):=20Add=20missing=20?= =?UTF-8?q?default=20env=20variables=20to=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chart/templates/ad-service.yaml | 2 -- chart/templates/frontend.yaml | 2 -- chart/templates/microblog-service.yaml | 2 -- chart/templates/proxy-service.yaml | 2 -- chart/templates/user-auth-service.yaml | 2 -- 5 files changed, 10 deletions(-) diff --git a/chart/templates/ad-service.yaml b/chart/templates/ad-service.yaml index abcebc0b..74800b5e 100644 --- a/chart/templates/ad-service.yaml +++ b/chart/templates/ad-service.yaml @@ -66,7 +66,6 @@ spec: value: {{ quote .Values.adService.deployment.container.env.USER_AUTH_SERVICE_ADDRESS }} - name: JAEGER_SERVICE_NAME value: {{quote (printf "unguard-%s" .Values.adService.name) }} - {{if .Values.tracing.enabled}} - name: JAEGER_AGENT_HOST value: {{ quote (printf "%s-%s" .Values.jaeger.name .Values.adService.deployment.container.env.JAEGER_AGENT_HOST) }} - name: JAEGER_SAMPLER_TYPE @@ -75,4 +74,3 @@ spec: value: {{ quote .Values.adService.deployment.container.env.JAEGER_SAMPLER_PARAM }} - name: JAEGER_DISABLED value: {{ quote .Values.adService.deployment.container.env.JAEGER_DISABLED }} - {{end}} diff --git a/chart/templates/frontend.yaml b/chart/templates/frontend.yaml index c2414a38..3aad48ed 100644 --- a/chart/templates/frontend.yaml +++ b/chart/templates/frontend.yaml @@ -79,7 +79,6 @@ spec: value: {{ quote .Values.frontend.deployment.container.env.MEMBERSHIP_SERVICE_BASE_PATH }} - name: STATUS_SERVICE_BASE_PATH value: {{ quote .Values.frontend.deployment.container.env.STATUS_SERVICE_BASE_PATH }} - {{if .Values.tracing.enabled}} - name: JAEGER_SERVICE_NAME value: {{quote (printf "unguard-%s" .Values.frontend.name) }} - name: JAEGER_AGENT_HOST @@ -90,4 +89,3 @@ spec: value: {{ quote .Values.frontend.deployment.container.env.JAEGER_SAMPLER_PARAM }} - name: JAEGER_DISABLED value: {{ quote .Values.frontend.deployment.container.env.JAEGER_DISABLED }} - {{end}} diff --git a/chart/templates/microblog-service.yaml b/chart/templates/microblog-service.yaml index 3978ed48..e76c646c 100644 --- a/chart/templates/microblog-service.yaml +++ b/chart/templates/microblog-service.yaml @@ -63,7 +63,6 @@ spec: value: {{ quote .Values.microblogService.deployment.container.env.REDIS_SERVICE_ADDRESS }} - name: USER_AUTH_SERVICE_ADDRESS value: {{ quote .Values.microblogService.deployment.container.env.USER_AUTH_SERVICE_ADDRESS }} - {{if .Values.tracing.enabled}} - name: OPENTRACING_JAEGER_ENABLED value: {{ quote .Values.microblogService.deployment.container.env.OPENTRACING_JAEGER_ENABLED }} - name: JAEGER_SERVICE_NAME @@ -74,4 +73,3 @@ spec: value: {{ quote .Values.microblogService.deployment.container.env.JAEGER_SAMPLER_TYPE }} - name: JAEGER_SAMPLER_PARAM value: {{ quote .Values.microblogService.deployment.container.env.JAEGER_SAMPLER_PARAM }} - {{end}} diff --git a/chart/templates/proxy-service.yaml b/chart/templates/proxy-service.yaml index f977fc3b..0800114c 100644 --- a/chart/templates/proxy-service.yaml +++ b/chart/templates/proxy-service.yaml @@ -92,7 +92,6 @@ spec: env: - name: SERVER_PORT value: {{ quote .Values.proxyService.deployment.container.env.SERVER_PORT }} - {{if .Values.tracing.enabled}} - name: OPENTRACING_JAEGER_ENABLED value: {{ quote .Values.proxyService.deployment.container.env.OPENTRACING_JAEGER_ENABLED }} - name: JAEGER_SERVICE_NAME @@ -103,4 +102,3 @@ spec: value: {{ quote .Values.proxyService.deployment.container.env.JAEGER_SAMPLER_TYPE }} - name: JAEGER_SAMPLER_PARAM value: {{ quote .Values.proxyService.deployment.container.env.JAEGER_SAMPLER_PARAM }} - {{end}} diff --git a/chart/templates/user-auth-service.yaml b/chart/templates/user-auth-service.yaml index 95030081..d8552b5b 100644 --- a/chart/templates/user-auth-service.yaml +++ b/chart/templates/user-auth-service.yaml @@ -68,7 +68,6 @@ spec: key: {{ tpl .Values.userAuthService.deployment.container.env.MARIADB_PASSWORD.secretKeyRef.key . }} - name: JAEGER_SERVICE_NAME value: {{quote (printf "unguard-%s" .Values.userAuthService.name) }} - {{if .Values.tracing.enabled}} - name: JAEGER_AGENT_HOST value: {{quote (printf "%s-%s" .Values.jaeger.name .Values.userAuthService.deployment.container.env.JAEGER_AGENT_HOST) }} - name: JAEGER_SAMPLER_TYPE @@ -77,4 +76,3 @@ spec: value: {{ quote .Values.userAuthService.deployment.container.env.JAEGER_SAMPLER_PARAM }} - name: JAEGER_DISABLED value: {{ quote .Values.userAuthService.deployment.container.env.JAEGER_DISABLED }} - {{end}}