Skip to content

Commit

Permalink
Merge pull request #494 from lisenet/feature-add-replicas-as-helm-value
Browse files Browse the repository at this point in the history
[jaeger] make replicas a Helm value instead of hardcoding it
  • Loading branch information
mehta-ankit authored Aug 9, 2023
2 parents 059f49f + b626e41 commit 4e702e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/jaeger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion charts/jaeger/templates/allinone-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/jaeger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fullnameOverride: ""

allInOne:
enabled: false
replicas: 1
image: jaegertracing/all-in-one
pullPolicy: IfNotPresent
extraEnv: []
Expand Down

0 comments on commit 4e702e2

Please sign in to comment.