From 213d5fe98a18b01f7ac31a3af0e7adf1651cb21a Mon Sep 17 00:00:00 2001 From: Ron Federman Date: Sun, 11 Aug 2024 11:57:10 +0300 Subject: [PATCH] Update UI role to watch and list pods in Odigos NS. Add OTLP port for UI for receviving collectors metrics --- charts/odigos/templates/ui/role.yaml | 8 ++++++++ charts/odigos/templates/ui/service.yaml | 2 ++ 2 files changed, 10 insertions(+) diff --git a/charts/odigos/templates/ui/role.yaml b/charts/odigos/templates/ui/role.yaml index c8a2449..eb80a76 100644 --- a/charts/odigos/templates/ui/role.yaml +++ b/charts/odigos/templates/ui/role.yaml @@ -14,4 +14,12 @@ rules: - list - patch - update + - watch + - apiGroups: + - "" + resources: + - pods + verbs: + - get + - list - watch \ No newline at end of file diff --git a/charts/odigos/templates/ui/service.yaml b/charts/odigos/templates/ui/service.yaml index 162796f..5722386 100644 --- a/charts/odigos/templates/ui/service.yaml +++ b/charts/odigos/templates/ui/service.yaml @@ -9,5 +9,7 @@ spec: ports: - name: ui port: 3000 + - name: otlp + port: 4317 selector: app: odigos-ui \ No newline at end of file