Skip to content

Commit

Permalink
Remove redundant service.ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Camp committed May 17, 2021
1 parent 8c67754 commit a94cbe4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 35 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Removed

- Removed `service.ports`, sourced from `otelCollector.ports` instead (#XXX)

## [0.25.0] - 2021-05-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/splunk-otel-collector/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
{{- range $key, $port := .Values.service.ports }}
{{- range $key, $port := .Values.otelCollector.ports }}
- name: {{ $key }}
port: {{ $port.containerPort }}
targetPort: {{ $port.targetPort }}
Expand Down
34 changes: 0 additions & 34 deletions helm-charts/splunk-otel-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -689,37 +689,3 @@ service:
type: ClusterIP
# Service annotations
annotations: {}
# Ports exposed by the opentelemetry collector service. Container named ports used.
ports:
otlp:
containerPort: 4317
targetPort: otlp
protocol: TCP
jaeger-thrift:
containerPort: 14268
targetPort: jaeger-thrift
protocol: TCP
jaeger-grpc:
containerPort: 14250
targetPort: jaeger-grpc
protocol: TCP
zipkin:
containerPort: 9411
targetPort: zipkin
protocol: TCP
sapm:
containerPort: 7276
targetPort: sapm
protocol: TCP
signalfx:
containerPort: 9943
targetPort: signalfx
protocol: TCP
fluentforward:
containerPort: 8006
targetPort: fluentforward
protocol: TCP
http-forwarder:
containerPort: 6060
targetPort: http-forwarder
protocol: TCP

0 comments on commit a94cbe4

Please sign in to comment.