Skip to content

Commit

Permalink
Merge pull request #2046 from eviscares/main
Browse files Browse the repository at this point in the history
[tempo-distributed] Add capability to define additional ports on gateway service
  • Loading branch information
mapno committed Jan 5, 2023
2 parents 81e2ce4 + 7fcb51b commit 6ed4fdf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
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: 0.27.13
version: 0.27.14
appVersion: 1.5.0
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
3 changes: 2 additions & 1 deletion charts/tempo-distributed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tempo-distributed

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

Grafana Tempo in MicroService mode

Expand Down Expand Up @@ -353,6 +353,7 @@ The memcached default args are removed and should be provided manually. The sett
| gateway.readinessProbe.timeoutSeconds | int | `1` | |
| gateway.replicas | int | `1` | Number of replicas for the gateway |
| gateway.resources | object | `{}` | Resource requests and limits for the gateway |
| gateway.service.additionalPorts | object | `{}` | Additional ports to be opneed on gateway service (e.g. for RPC connections) |
| gateway.service.annotations | object | `{}` | Annotations for the gateway service |
| gateway.service.clusterIP | string | `nil` | ClusterIP of the gateway service |
| gateway.service.labels | object | `{}` | Labels for gateway service |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ spec:
nodePort: {{ .Values.gateway.service.nodePort }}
{{- end }}
protocol: TCP
{{ range .Values.gateway.service.additionalPorts }}
- name: {{ .name }}
port: {{ .port }}
targetPort: {{ .targetPort }}
protocol: {{ .protocol }}
{{ end }}
selector:
{{- include "tempo.selectorLabels" (dict "ctx" . "component" "gateway") | nindent 4 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/tempo-distributed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1217,6 +1217,8 @@ gateway:
annotations: {}
# -- Labels for gateway service
labels: {}
# -- Additional ports to be opneed on gateway service (e.g. for RPC connections)
additionalPorts: {}
# Gateway ingress configuration
ingress:
# -- Specifies whether an ingress for the gateway should be created
Expand Down

0 comments on commit 6ed4fdf

Please sign in to comment.