Skip to content

Commit

Permalink
Merge branch 'main' into feature/improve-grafana-download-dashboards
Browse files Browse the repository at this point in the history
Signed-off-by: Rachid Zarouali <[email protected]>
  • Loading branch information
xinity authored Oct 15, 2024
2 parents 850d017 + c8841e8 commit fcd1043
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 20 deletions.
2 changes: 1 addition & 1 deletion charts/grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ need to instead set `global.imageRegistry`.
| `lifecycleHooks` | Lifecycle hooks for podStart and preStop [Example](https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/#define-poststart-and-prestop-handlers) | `{}` |
| `sidecar.image.registry` | Sidecar image registry | `quay.io` |
| `sidecar.image.repository` | Sidecar image repository | `kiwigrid/k8s-sidecar` |
| `sidecar.image.tag` | Sidecar image tag | `1.26.0` |
| `sidecar.image.tag` | Sidecar image tag | `1.28.0` |
| `sidecar.image.sha` | Sidecar image sha (optional) | `""` |
| `sidecar.imagePullPolicy` | Sidecar image pull policy | `IfNotPresent` |
| `sidecar.resources` | Sidecar resources | `{}` |
Expand Down
2 changes: 1 addition & 1 deletion charts/grafana/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and (not .Values.autoscaling.enabled) (.Values.replicas) }}
{{- if (not .Values.autoscaling.enabled) }}
replicas: {{ .Values.replicas }}
{{- end }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
Expand Down
2 changes: 1 addition & 1 deletion charts/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ sidecar:
# -- The Docker registry
registry: quay.io
repository: kiwigrid/k8s-sidecar
tag: 1.27.4
tag: 1.28.0
sha: ""
imagePullPolicy: IfNotPresent
resources: {}
Expand Down
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.18.2
version: 1.18.4
appVersion: 2.6.0
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
2 changes: 1 addition & 1 deletion charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

![Version: 1.18.2](https://img.shields.io/badge/Version-1.18.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)
![Version: 1.18.4](https://img.shields.io/badge/Version-1.18.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.6.0](https://img.shields.io/badge/AppVersion-2.6.0-informational?style=flat-square)

Grafana Tempo in MicroService mode

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "tempo.labels" (dict "ctx" . "component" "compactor") | nindent 4 }}
{{- with .Values.compactor.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
prometheus.io/service-monitor: "false"
{{- with .Values.distributor.serviceDiscovery.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
{{- end }}
{{- with .Values.distributor.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: {{ .Values.distributor.service.type }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "tempo.labels" (dict "ctx" . "component" "enterprise-federation-frontend") | nindent 4 }}
{{- with .Values.enterpriseFederationFrontend.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: {{ .Values.enterpriseFederationFrontend.service.type }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
{{- end }}
{{- with .Values.gateway.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: {{ .Values.gateway.service.type }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
prometheus.io/service-monitor: "false"
{{- with .Values.ingester.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "tempo.labels" $dict | nindent 4 }}
{{- with .Values.ingester.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "tempo.labels" (dict "ctx" . "component" "memcached") | nindent 4 }}
{{- with .Values.memcached.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
prometheus.io/service-monitor: "false"
{{- with .Values.metricsGenerator.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
{{- include "tempo.labels" $dict | nindent 4 }}
{{- with .Values.metricsGenerator.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,14 @@ spec:
- name: {{ .name | quote }}
containerPort: {{ .port }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnv }}
{{- if or .Values.global.extraEnv .Values.metricsGenerator.extraEnv }}
env:
{{- toYaml . | nindent 12 }}
{{- with .Values.global.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- with .Values.metricsGenerator.extraEnvFrom }}
envFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{- include "tempo.labels" (dict "ctx" . "component" "querier") | nindent 4 }}
{{- with .Values.querier.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
{{- end }}
{{- with .Values.queryFrontend.serviceDiscovery.annotations }}
annotations:
{{ toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: ClusterIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
{{- end }}
{{- with .Values.queryFrontend.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- tpl (toYaml . | nindent 4) $ }}
{{- end }}
spec:
type: {{ .Values.queryFrontend.service.type }}
Expand Down

0 comments on commit fcd1043

Please sign in to comment.