Skip to content

Commit 7fdfca6

Browse files
Merge branch 'main' into main
2 parents b459bca + 8a70543 commit 7fdfca6

File tree

9 files changed

+105
-6
lines changed

9 files changed

+105
-6
lines changed

charts/grafana/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: grafana
3-
version: 9.0.0
4-
appVersion: 12.0.0
3+
version: 9.1.1
4+
appVersion: 12.0.0-security-01
55
kubeVersion: "^1.8.0-0"
66
description: The leading tool for querying and visualizing time series and metrics.
77
home: https://grafana.com

charts/grafana/templates/image-renderer-servicemonitor.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.imageRenderer.serviceMonitor.enabled }}
1+
{{- if and .Values.imageRenderer.enabled .Values.imageRenderer.serviceMonitor.enabled }}
22
---
33
apiVersion: monitoring.coreos.com/v1
44
kind: ServiceMonitor

charts/rollout-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: rollout-operator
33
description: "Grafana rollout-operator"
44
type: application
5-
version: 0.28.0
6-
appVersion: v0.26.0
5+
version: 0.29.0
6+
appVersion: v0.27.0
77
home: https://github.com/grafana/rollout-operator
88
kubeVersion: ^1.10.0-0

charts/rollout-operator/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Helm chart for deploying [Grafana rollout-operator](https://github.com/grafana/r
44

55
# rollout-operator
66

7-
![Version: 0.28.0](https://img.shields.io/badge/Version-0.28.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.26.0](https://img.shields.io/badge/AppVersion-v0.26.0-informational?style=flat-square)
7+
![Version: 0.29.0](https://img.shields.io/badge/Version-0.29.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.27.0](https://img.shields.io/badge/AppVersion-v0.27.0-informational?style=flat-square)
88

99
Grafana rollout-operator
1010

charts/tempo-distributed/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,18 @@ The memcached default args are removed and should be provided manually. The sett
617617
| ingester.zoneAwareReplication.zones[2].extraAffinity | object | `{}` | extraAffinity adds user defined custom affinity rules (merged with generated rules) |
618618
| ingester.zoneAwareReplication.zones[2].nodeSelector | string | `nil` | nodeselector to restrict where pods of this zone can be placed. E.g.: nodeSelector: topology.kubernetes.io/zone: zone-c |
619619
| ingester.zoneAwareReplication.zones[2].storageClass | string | `nil` | Ingester data Persistent Volume Storage Class If defined, storageClassName: <storageClass> If set to "-", then use `storageClassName: ""`, which disables dynamic provisioning If undefined or set to null (the default), then fall back to the value of `ingester.persistentVolume.storageClass`. |
620+
| ingress.annotations | object | `{}` | |
621+
| ingress.enabled | bool | `false` | If you enable this, make sure to disable the gateway's ingress. |
622+
| ingress.hosts[0] | string | `"tempo.example.com"` | |
623+
| ingress.paths.compactor[0].path | string | `"/compactor/ring"` | |
624+
| ingress.paths.distributor[0].path | string | `"/v1/traces"` | |
625+
| ingress.paths.distributor[0].port | int | `4318` | |
626+
| ingress.paths.distributor[1].path | string | `"/distributor/ring"` | |
627+
| ingress.paths.distributor[2].path | string | `"/ingester/ring"` | |
628+
| ingress.paths.distributor[3].path | string | `"/metrics-generator/ring"` | |
629+
| ingress.paths.ingester[0].path | string | `"/flush"` | |
630+
| ingress.paths.ingester[1].path | string | `"/shutdown"` | |
631+
| ingress.paths.query-frontend[0].path | string | `"/api"` | |
620632
| kubectlImage.pullPolicy | string | `"IfNotPresent"` | |
621633
| kubectlImage.repository | string | `"bitnami/kubectl"` | |
622634
| kubectlImage.tag | string | `"latest"` | |

charts/tempo-distributed/templates/compactor/deployment-compactor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ metadata:
1212
{{- end }}
1313
spec:
1414
minReadySeconds: {{ .Values.compactor.minReadySeconds }}
15+
{{- if not .Values.compactor.autoscaling.enabled }}
1516
replicas: {{ .Values.compactor.replicas }}
17+
{{- end }}
1618
revisionHistoryLimit: {{ .Values.tempo.revisionHistoryLimit }}
1719
selector:
1820
matchLabels:

charts/tempo-distributed/templates/gateway/ingress-gateway.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
{{- if and .Values.ingress.enabled .Values.gateway.ingress.enabled -}}
2+
{{- fail "You have selected both ingress.enabled and gateway.ingress.enabled, you must select either ingress or gateway but not both" -}}
3+
{{- end -}}
4+
15
{{- if .Values.gateway.enabled -}}
26
{{- if .Values.gateway.ingress.enabled -}}
37
{{ $dict := dict "ctx" . "component" "gateway" }}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{{- if .Values.ingress.enabled }}
2+
{{- $ingressApiIsStable := eq (include "tempo.ingress.isStable" .) "true" -}}
3+
{{- $ingressSupportsIngressClassName := eq (include "tempo.ingress.supportsIngressClassName" .) "true" -}}
4+
{{- $ingressSupportsPathType := eq (include "tempo.ingress.supportsPathType" .) "true" -}}
5+
apiVersion: {{ include "tempo.ingress.apiVersion" . }}
6+
kind: Ingress
7+
metadata:
8+
name: {{ include "tempo.fullname" . }}
9+
labels:
10+
{{- include "tempo.labels" (dict "ctx" . "component" "gateway") | nindent 4 }}
11+
{{- with .Values.ingress.labels }}
12+
{{- toYaml . | nindent 4}}
13+
{{- end}}
14+
{{- with .Values.ingress.annotations }}
15+
annotations:
16+
{{- toYaml . | nindent 4 }}
17+
{{- end }}
18+
namespace: {{ .Release.Namespace }}
19+
spec:
20+
{{- with .Values.ingress.ingressClassName }}
21+
ingressClassName: {{ . }}
22+
{{- end -}}
23+
{{- with .Values.ingress.tls }}
24+
tls:
25+
{{- range . }}
26+
- hosts:
27+
{{- range .hosts }}
28+
- {{ . | quote }}
29+
{{- end }}
30+
{{- with .secretName }}
31+
secretName: {{ . }}
32+
{{- end }}
33+
{{- end }}
34+
{{- end }}
35+
rules:
36+
{{- range $.Values.ingress.hosts }}
37+
- host: {{ . | quote }}
38+
http:
39+
paths:
40+
{{- range $svcName, $paths := $.Values.ingress.paths }}
41+
{{- range $paths }}
42+
- path: {{ .path }}
43+
pathType: {{ .pathType | default "Prefix" }}
44+
backend:
45+
{{- if $ingressApiIsStable }}
46+
service:
47+
name: {{ include "tempo.fullname" $ }}-{{ $svcName }}
48+
port:
49+
number: {{ .port | default (printf "%s" (include "tempo.serverHttpListenPort" $ )) }}
50+
{{- else }}
51+
serviceName: {{ include "tempo.fullname" $ }}-{{ $svcName }}
52+
servicePort: {{ .port | default (printf "%s" (include "tempo.serverHttpListenPort" $ )) }}
53+
{{- end }}
54+
{{- end }}
55+
{{- end }}
56+
{{- end }}
57+
{{- end }}

charts/tempo-distributed/values.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,6 +2196,30 @@ gateway:
21962196
{{- end }}
21972197
}
21982198
2199+
ingress:
2200+
# -- If you enable this, make sure to disable the gateway's ingress.
2201+
enabled: false
2202+
# ingressClassName: nginx
2203+
annotations: {}
2204+
paths:
2205+
distributor:
2206+
- path: /v1/traces
2207+
port: 4318
2208+
- path: /distributor/ring
2209+
# -- pathType (e.g. ImplementationSpecific, Prefix, .. etc.) might also be required by some Ingress Controllers
2210+
# pathType: Prefix
2211+
- path: /ingester/ring
2212+
- path: /metrics-generator/ring
2213+
ingester:
2214+
- path: /flush
2215+
- path: /shutdown
2216+
query-frontend:
2217+
- path: /api
2218+
compactor:
2219+
- path: /compactor/ring
2220+
hosts:
2221+
- tempo.example.com
2222+
21992223
##############################################################################
22002224
# The values in and after the `enterprise:` key configure the enterprise features
22012225
enterprise:

0 commit comments

Comments
 (0)