From 2c2d2aa283b32d8e8a26c116532cf969ed177fbd Mon Sep 17 00:00:00 2001 From: lisenet Date: Wed, 9 Aug 2023 11:59:14 +0100 Subject: [PATCH 1/2] Make replicas a Helm value instead of hardcoding Signed-off-by: lisenet --- charts/jaeger/templates/allinone-deploy.yaml | 4 +++- charts/jaeger/values.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/jaeger/templates/allinone-deploy.yaml b/charts/jaeger/templates/allinone-deploy.yaml index cf4104a6..541c03a9 100644 --- a/charts/jaeger/templates/allinone-deploy.yaml +++ b/charts/jaeger/templates/allinone-deploy.yaml @@ -9,7 +9,9 @@ metadata: prometheus.io/port: "14269" prometheus.io/scrape: "true" spec: - replicas: 1 + {{- if .Values.allInOne.replicas }} + replicas: {{ .Values.allInOne.replicas }} + {{- end }} strategy: type: Recreate selector: diff --git a/charts/jaeger/values.yaml b/charts/jaeger/values.yaml index 40a16186..44cc2396 100644 --- a/charts/jaeger/values.yaml +++ b/charts/jaeger/values.yaml @@ -18,6 +18,7 @@ fullnameOverride: "" allInOne: enabled: false + replicas: 1 image: jaegertracing/all-in-one pullPolicy: IfNotPresent extraEnv: [] From b626e41bcea801a508a94a7990aead8bcfdf5c65 Mon Sep 17 00:00:00 2001 From: lisenet Date: Wed, 9 Aug 2023 12:02:15 +0100 Subject: [PATCH 2/2] Bump cahrt version as per PR requirement Signed-off-by: lisenet --- charts/jaeger/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/jaeger/Chart.yaml b/charts/jaeger/Chart.yaml index 42bc6722..71f15536 100644 --- a/charts/jaeger/Chart.yaml +++ b/charts/jaeger/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.45.0 description: A Jaeger Helm chart for Kubernetes name: jaeger type: application -version: 0.71.10 +version: 0.71.11 # CronJobs require v1.21 kubeVersion: '>= 1.21-0' keywords: