Skip to content

Commit bc9f5ad

Browse files
committed
add condition to deploy PDB if number of ingester is bigger then 1
Signed-off-by: AvivGuiser <[email protected]>
1 parent 83f3d40 commit bc9f5ad

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/tempo-distributed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: tempo-distributed
33
description: Grafana Tempo in MicroService mode
44
type: application
5-
version: 1.41.0
5+
version: 1.41.1
66
appVersion: 2.7.2
77
engine: gotpl
88
home: https://grafana.com/docs/tempo/latest/

charts/tempo-distributed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# tempo-distributed
22

3-
![Version: 1.41.0](https://img.shields.io/badge/Version-1.41.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.2](https://img.shields.io/badge/AppVersion-2.7.2-informational?style=flat-square)
3+
![Version: 1.41.1](https://img.shields.io/badge/Version-1.41.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.7.2](https://img.shields.io/badge/AppVersion-2.7.2-informational?style=flat-square)
44

55
Grafana Tempo in MicroService mode
66

charts/tempo-distributed/templates/ingester/pdb.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{- if .Values.podDisruptionBudget -}}
2+
{{- if gt (int .Values.ingester.replicas) 1 }}
23
apiVersion: {{ include "tempo.pdb.apiVersion" . }}
34
kind: PodDisruptionBudget
45
metadata:
@@ -12,3 +13,4 @@ spec:
1213
app: {{ include "tempo.resourceName" (dict "ctx" . "component" "ingester") }}
1314
{{ toYaml .Values.podDisruptionBudget | indent 2 }}
1415
{{- end }}
16+
{{- end }}

0 commit comments

Comments
 (0)