diff --git a/charts/opentelemetry-ebpf/Chart.yaml b/charts/opentelemetry-ebpf/Chart.yaml index fefe51c52..220a31e25 100644 --- a/charts/opentelemetry-ebpf/Chart.yaml +++ b/charts/opentelemetry-ebpf/Chart.yaml @@ -9,5 +9,6 @@ sources: maintainers: - name: dmitryax - name: TylerHelmuth + - name: nicolastakashi icon: https://opentelemetry.io/img/logos/opentelemetry-logo-nav.png appVersion: v0.10.0 diff --git a/charts/opentelemetry-ebpf/templates/k8s-collector-deployment.yaml b/charts/opentelemetry-ebpf/templates/k8s-collector-deployment.yaml index 85179c320..9234b5d2a 100644 --- a/charts/opentelemetry-ebpf/templates/k8s-collector-deployment.yaml +++ b/charts/opentelemetry-ebpf/templates/k8s-collector-deployment.yaml @@ -119,7 +119,7 @@ spec: - name: "EBPF_NET_CRASH_METRIC_HOST" value: {{ .Values.endpoint.address }} - name: "EBPF_NET_CRASH_METRIC_PORT" - value: {{ .Values.endpoint.port | default 4317 }} + value: {{ .Values.endpoint.port }} {{- end }} {{- if .Values.k8sCollector.relay.env }} {{ toYaml .Values.k8sCollector.relay.env | indent 10 }} diff --git a/charts/opentelemetry-ebpf/templates/kernel-collector-daemonset.yaml b/charts/opentelemetry-ebpf/templates/kernel-collector-daemonset.yaml index 5302c078d..01505798f 100644 --- a/charts/opentelemetry-ebpf/templates/kernel-collector-daemonset.yaml +++ b/charts/opentelemetry-ebpf/templates/kernel-collector-daemonset.yaml @@ -113,7 +113,7 @@ spec: - name: "EBPF_NET_CRASH_METRIC_HOST" value: {{ .Values.endpoint.address }} - name: "EBPF_NET_CRASH_METRIC_PORT" - value: {{ .Values.endpoint.port | default 4317 }} + value: {{ .Values.endpoint.port }} {{- end }} {{- if .Values.kernelCollector.env }} {{ toYaml .Values.kernelCollector.env | indent 12 }} diff --git a/charts/opentelemetry-ebpf/templates/reducer-deployment.yaml b/charts/opentelemetry-ebpf/templates/reducer-deployment.yaml index 61f8b31bd..6a704aa49 100644 --- a/charts/opentelemetry-ebpf/templates/reducer-deployment.yaml +++ b/charts/opentelemetry-ebpf/templates/reducer-deployment.yaml @@ -43,7 +43,7 @@ spec: - --disable-prometheus-metrics - --enable-otlp-grpc-metrics - --otlp-grpc-metrics-host={{ .Values.endpoint.address }} - - --otlp-grpc-metrics-port={{ .Values.endpoint.port | default 4317 }} + - --otlp-grpc-metrics-port={{ .Values.endpoint.port }} {{- if .Values.reducer.disableMetrics }} - --disable-metrics={{join "," .Values.reducer.disableMetrics}} {{- end }} @@ -72,7 +72,7 @@ spec: - name: "EBPF_NET_CRASH_METRIC_HOST" value: {{ .Values.endpoint.address }} - name: "EBPF_NET_CRASH_METRIC_PORT" - value: {{ .Values.endpoint.port | default 4317 }} + value: {{ .Values.endpoint.port }} {{- end }} {{- end }} ports: diff --git a/charts/opentelemetry-ebpf/values.schema.json b/charts/opentelemetry-ebpf/values.schema.json index 436c85c0e..e77a22c89 100644 --- a/charts/opentelemetry-ebpf/values.schema.json +++ b/charts/opentelemetry-ebpf/values.schema.json @@ -30,7 +30,7 @@ "type": "string" }, "port": { - "type": "string" + "type": "integer" } } }, diff --git a/charts/opentelemetry-ebpf/values.yaml b/charts/opentelemetry-ebpf/values.yaml index 0eb83e558..c0bd9fabb 100644 --- a/charts/opentelemetry-ebpf/values.yaml +++ b/charts/opentelemetry-ebpf/values.yaml @@ -18,7 +18,7 @@ resources: {} # OTLP gRPC endpoint to send the collected metrics endpoint: address: "" - port: "" + port: 4317 log: console: false