diff --git a/helm/robusta/templates/forwarder.yaml b/helm/robusta/templates/forwarder.yaml index e09d6c1ca..35c5e2daf 100644 --- a/helm/robusta/templates/forwarder.yaml +++ b/helm/robusta/templates/forwarder.yaml @@ -103,8 +103,8 @@ spec: ports: - name: forwarder-metrics protocol: TCP - port: {{ default 2112 .Values.kubewatch.service.port }} - targetPort: {{ default 2112 .Values.kubewatch.service.port }} + port: 80 + targetPort: 2112 --- {{ if and (.Values.enableServiceMonitors) (or (.Values.enablePrometheusStack) (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/ServiceMonitor") ) }} apiVersion: monitoring.coreos.com/v1 diff --git a/helm/robusta/values.yaml b/helm/robusta/values.yaml index 339c7eb0c..13a2be3cc 100644 --- a/helm/robusta/values.yaml +++ b/helm/robusta/values.yaml @@ -634,11 +634,8 @@ kubewatch: runAsUser: 1000 pod: {} customServiceAccount: "" # to override the kubewatch service account - service: - port: 2112 serviceMonitor: path: /metrics - interval: 15s serviceAccount: # Additional annotations for the ServiceAccount. annotations: {}