Skip to content

Commit

Permalink
Make otlp ports configurable on deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Bates <[email protected]>
  • Loading branch information
spadger committed Jun 23, 2023
1 parent 8500d1b commit 3475f96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/jaeger/templates/collector-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ spec:
{{- end }}
{{- if or .Values.collector.service.otlp.grpc .Values.collector.service.otlp.http }}
- containerPort: {{ default 4317 .Values.collector.service.otlp.grpc.port }}
name: otlp-grpc
name: {{ .Values.collector.service.otlp.grpc.name }}
protocol: TCP
- containerPort: {{ default 4318 .Values.collector.service.otlp.http.port }}
name: otlp-http
name: {{ .Values.collector.service.otlp.http.name }}
protocol: TCP
{{- end }}
readinessProbe:
Expand Down
6 changes: 3 additions & 3 deletions charts/jaeger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ allInOne:
collector:
otlp:
grpc:
name: otlp-grpc
name: grpc-otlp
http:
name: otlp-http
name: http-otlp
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
Expand Down Expand Up @@ -383,7 +383,7 @@ collector:
# port: 4317
# nodePort:
http:
name: otlp-grpc
name: otlp-http
# port: 4318
# nodePort:
ingress:
Expand Down

0 comments on commit 3475f96

Please sign in to comment.