File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : tempo-distributed
33description : Grafana Tempo in MicroService mode
44type : application
5- version : 1.52.6
5+ version : 1.52.7
66appVersion : 2.9.0
77engine : gotpl
88home : https://grafana.com/docs/tempo/latest/
Original file line number Diff line number Diff line change 11# tempo-distributed
22
3- ![ Version: 1.52.6 ] ( https://img.shields.io/badge/Version-1.52.6 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 2.9.0] ( https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square )
3+ ![ Version: 1.52.7 ] ( https://img.shields.io/badge/Version-1.52.7 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 2.9.0] ( https://img.shields.io/badge/AppVersion-2.9.0-informational?style=flat-square )
44
55Grafana Tempo in MicroService mode
66
Original file line number Diff line number Diff line change 44{ {- end } }
55{ {- define " ingester.zoneAwareReplicationMap" -} }
66{ {- $zonesMap := (dict) -} }
7- { {- $defaultZone := (dict " affinity" .ctx.Values.ingester.affinity " nodeSelector" .ctx.Values.ingester.nodeSelector " replicas" .ctx.Values.ingester.replicas " storageClass" .ctx.Values.ingester.storageClass) -} }
7+ { {- $defaultZone := (dict " affinity" .ctx.Values.ingester.affinity " annotations " ( default (dict)) " nodeSelector" .ctx.Values.ingester.nodeSelector " podAnnotations " ( default (dict)) " replicas" .ctx.Values.ingester.replicas " storageClass" .ctx.Values.ingester.storageClass) -} }
88{ {- if .ctx.Values.ingester.zoneAwareReplication.enabled -} }
99{ {- $numberOfZones := len .ctx.Values.ingester.zoneAwareReplication.zones -} }
1010{ {- if lt $numberOfZones 3 -} }
1616{ {- $extraAffinity := $rolloutZone .extraAffinity | default (dict) -} }
1717{ {- $zoneAntiAffinity := include " ingester.zoneAntiAffinity" (dict " rolloutZoneName" $rolloutZone .name " topologyKey" $.ctx.Values.ingester.zoneAwareReplication.topologyKey) | fromYaml -} }
1818{ {- $mergedAffinity := mergeOverwrite $extraAffinity $zoneAntiAffinity -} }
19- { {- $_ := set $zonesMap $rolloutZone .name (dict " affinity" $mergedAffinity " nodeSelector" ($rolloutZone .nodeSelector | default (dict)) " replicas" $replicaPerZone " storageClass" $rolloutZone .storageClass) -} }
19+ { {- $_ := set $zonesMap $rolloutZone .name (dict " affinity" $mergedAffinity " annotations " ( $ rolloutZone .annotations | default (dict)) " nodeSelector" ($rolloutZone .nodeSelector | default (dict)) " podAnnotations " ( $ rolloutZone .podAnnotations | default (dict)) " replicas" $replicaPerZone " storageClass" $rolloutZone .storageClass) -} }
2020{ {- end -} }
2121{ {- else -} }
2222{ {- $_ := set $zonesMap " " $defaultZone -} }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ metadata:
1515 {{- if .Values.ingester.zoneAwareReplication.enabled }}
1616 annotations :
1717 {{- include "ingester.Annotations" $dict | nindent 4}}
18- {{- with $rolloutZone.annotations }}:
18+ {{- with $rolloutZone.annotations }}
1919 {{- toYaml . | nindent 4 }}
2020 {{- end }}
2121 {{- else }}
5454 {{- with .Values.ingester.podAnnotations }}
5555 {{- toYaml . | nindent 8 }}
5656 {{- end }}
57- {{- with $rolloutZone.podAnnotations }}:
57+ {{- with $rolloutZone.podAnnotations }}
5858 {{- toYaml . | nindent 8 }}
5959 {{- end }}
6060 spec :
You can’t perform that action at this time.
0 commit comments