From 4516f395c897676cdeeb8404995b351beeac65e0 Mon Sep 17 00:00:00 2001 From: Clement Erena Date: Wed, 20 Mar 2024 10:08:28 +0100 Subject: [PATCH] feat(crib): add ingress for grafana --- charts/chainlink-cluster/devspace.yaml | 9 +++++++++ charts/chainlink-cluster/values.yaml | 10 ++++++++++ 2 files changed, 19 insertions(+) diff --git a/charts/chainlink-cluster/devspace.yaml b/charts/chainlink-cluster/devspace.yaml index f520c627b7f..0dfa97aa0ae 100644 --- a/charts/chainlink-cluster/devspace.yaml +++ b/charts/chainlink-cluster/devspace.yaml @@ -355,6 +355,15 @@ deployments: name: mockserver port: number: 1080 + - host: ${DEVSPACE_NAMESPACE}-grafana.${DEVSPACE_INGRESS_BASE_DOMAIN} + http: + paths: + - path: / + backend: + service: + name: app-grafana + port: + number: 80 networkPolicyDefault: ingress: allowCustomCidrs: true diff --git a/charts/chainlink-cluster/values.yaml b/charts/chainlink-cluster/values.yaml index b0866574c90..6d89d517c66 100644 --- a/charts/chainlink-cluster/values.yaml +++ b/charts/chainlink-cluster/values.yaml @@ -361,6 +361,16 @@ ingress: name: mockserver port: number: 1080 + - host: chainlink-grafana.local + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + service: + name: grafana + port: + number: 80 # monitoring.coreos.com/v1 PodMonitor for each node prometheusMonitor: true