From a762c877664cdef7923b345c8d7e8f376d0b1efb Mon Sep 17 00:00:00 2001 From: Tarashish Mishra <sunu@sunu.in> Date: Mon, 22 Apr 2024 20:43:08 +0530 Subject: [PATCH] make worker count configurable through helm --- helm/osmcha/templates/adiff-service-worker.yaml | 2 +- helm/osmcha/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/helm/osmcha/templates/adiff-service-worker.yaml b/helm/osmcha/templates/adiff-service-worker.yaml index 50eb89c..c58c789 100644 --- a/helm/osmcha/templates/adiff-service-worker.yaml +++ b/helm/osmcha/templates/adiff-service-worker.yaml @@ -43,4 +43,4 @@ spec: - name: RedisServer value: {{ .Values.adiff_service.redis_url }} - name: NumberOfWorkers - value: 7 + value: {{ .Values.adiff_service.worker_count }} diff --git a/helm/osmcha/values.yaml b/helm/osmcha/values.yaml index 63ff312..b7d1bb0 100644 --- a/helm/osmcha/values.yaml +++ b/helm/osmcha/values.yaml @@ -131,3 +131,4 @@ adiff_service: repository: ghcr.io/osmcha/osm-adiff-service tag: f86fd1ce4e78fa0ec31227559a65111d6a4595e7 redis_url: redis://redis-master:6379 + worker_count: 7