Skip to content

Commit

Permalink
Merge pull request #68 from prashant-shahi/prashant/otel-pod-ports
Browse files Browse the repository at this point in the history
  • Loading branch information
prashant-shahi authored Aug 8, 2022
2 parents 5be7c70 + 26898b8 commit b237160
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/signoz/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: signoz
version: 0.2.3
version: 0.2.4
appVersion: "0.10.1"
description: SigNoz Observability Platform Helm Chart
type: application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ spec:
- name: {{ template "otelCollectorMetrics.fullname" . }}
image: {{ template "otelCollectorMetrics.image" . }}
imagePullPolicy: {{ .Values.otelCollectorMetrics.image.pullPolicy }}
ports:
{{- range $key, $port := .Values.otelCollectorMetrics.ports }}
{{- if $port.enabled }}
- name: {{ $key }}
containerPort: {{ $port.containerPort }}
protocol: {{ $port.protocol }}
{{- end }}
{{- end }}
command:
- "/otelcontribcol"
- "--config=/conf/otel-collector-metrics-config.yaml"
Expand Down
8 changes: 8 additions & 0 deletions charts/signoz/templates/otel-collector/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ spec:
- name: {{ template "otelCollector.fullname" . }}
image: {{ template "otelCollector.image" . }}
imagePullPolicy: {{ .Values.otelCollector.image.pullPolicy }}
ports:
{{- range $key, $port := .Values.otelCollector.ports }}
{{- if $port.enabled }}
- name: {{ $key }}
containerPort: {{ $port.containerPort }}
protocol: {{ $port.protocol }}
{{- end }}
{{- end }}
command:
- "/otelcontribcol"
- "--config=/conf/otel-collector-config.yaml"
Expand Down

0 comments on commit b237160

Please sign in to comment.