Skip to content

Commit

Permalink
Merge pull request #3075 from hedss/add-enterprise-gateway-functionality
Browse files Browse the repository at this point in the history
[tempo-distributed] Adds service specific features for enterprise gateway inline with gateway.
  • Loading branch information
hedss committed Apr 12, 2024
2 parents a2f24a6 + f24cdb9 commit d2d9da9
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/tempo-distributed/Chart.yaml
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tempo-distributed
description: Grafana Tempo in MicroService mode
type: application
version: 1.9.1
version: 1.9.2
appVersion: 2.4.1
engine: gotpl
home: https://grafana.com/docs/tempo/latest/
Expand Down
11 changes: 7 additions & 4 deletions charts/tempo-distributed/README.md
@@ -1,6 +1,6 @@
# tempo-distributed

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

Grafana Tempo in MicroService mode

Expand Down Expand Up @@ -387,9 +387,12 @@ The memcached default args are removed and should be provided manually. The sett
| enterpriseGateway.resources.requests.cpu | string | `"10m"` | |
| enterpriseGateway.resources.requests.memory | string | `"32Mi"` | |
| enterpriseGateway.securityContext | object | `{}` | |
| enterpriseGateway.service.annotations | object | `{}` | |
| enterpriseGateway.service.labels | object | `{}` | |
| enterpriseGateway.service.port | string | `nil` | If the port is left undefined, the service will listen on the same port as the pod |
| enterpriseGateway.service.annotations | object | `{}` | Annotations for the enterprise gateway service |
| enterpriseGateway.service.clusterIP | string | `nil` | ClusterIP of the enterprise gateway service |
| enterpriseGateway.service.labels | object | `{}` | Labels for enterprise gateway service |
| enterpriseGateway.service.loadBalancerIP | string | `nil` | Load balancer IPO address if service type is LoadBalancer for enterprise gateway service |
| enterpriseGateway.service.port | string | `nil` | Port of the enterprise gateway service; if left undefined, the service will listen on the same port as the pod |
| enterpriseGateway.service.type | string | `"ClusterIP"` | Type of the enterprise gateway service |
| enterpriseGateway.strategy.rollingUpdate.maxSurge | int | `0` | |
| enterpriseGateway.strategy.rollingUpdate.maxUnavailable | int | `1` | |
| enterpriseGateway.strategy.type | string | `"RollingUpdate"` | |
Expand Down
Expand Up @@ -13,7 +13,13 @@ metadata:
{{- toYaml .Values.enterpriseGateway.service.annotations | nindent 4 }}
namespace: {{ .Release.Namespace | quote }}
spec:
type: ClusterIP
type: {{ .Values.enterpriseGateway.service.type }}
{{- with .Values.enterpriseGateway.service.clusterIP }}
clusterIP: {{ . }}
{{- end }}
{{- if and (eq "LoadBalancer" .Values.enterpriseGateway.service.type) .Values.enterpriseGateway.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.enterpriseGateway.service.loadBalancerIP }}
{{- end }}
ports:
- port: {{ .Values.enterpriseGateway.service.port | default (include "tempo.serverHttpListenPort" . ) }}
protocol: TCP
Expand Down
12 changes: 10 additions & 2 deletions charts/tempo-distributed/values.yaml
Expand Up @@ -2009,10 +2009,18 @@ enterpriseGateway:

annotations: {}
service:
# -- Port of the enterprise gateway service; if left undefined, the service will listen on the same port as the pod
port: null
# -- Type of the enterprise gateway service
type: ClusterIP
# -- ClusterIP of the enterprise gateway service
clusterIP: null
# -- Load balancer IPO address if service type is LoadBalancer for enterprise gateway service
loadBalancerIP: null
# -- Annotations for the enterprise gateway service
annotations: {}
# -- Labels for enterprise gateway service
labels: {}
# -- If the port is left undefined, the service will listen on the same port as the pod
port: null

strategy:
type: RollingUpdate
Expand Down

0 comments on commit d2d9da9

Please sign in to comment.