From f7e341128ba481b1809cb59f6bc256515be2aa9b Mon Sep 17 00:00:00 2001 From: Clement Date: Thu, 21 Mar 2024 10:51:32 +0100 Subject: [PATCH] feat(crib): add ingress for grafana (#12505) --- 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 71db2e7c68f..abbb071951b 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