From 9ced2589d1191d0e9f13c976f6c0ff78f0761822 Mon Sep 17 00:00:00 2001 From: GeorgeGedox <39589642+GeorgeGedox@users.noreply.github.com> Date: Mon, 30 Oct 2023 07:23:16 +0200 Subject: [PATCH] Add service monitor for ingress Signed-off-by: GeorgeGedox <39589642+GeorgeGedox@users.noreply.github.com> --- cluster/apps/default/theme-park/release.yaml | 2 +- cluster/core/networking/ingress-nginx/app/release.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cluster/apps/default/theme-park/release.yaml b/cluster/apps/default/theme-park/release.yaml index 3163cc8d..3c6273fb 100644 --- a/cluster/apps/default/theme-park/release.yaml +++ b/cluster/apps/default/theme-park/release.yaml @@ -40,7 +40,7 @@ spec: enabled: true className: nginx annotations: - hajimari.io/enabled: "false" + hajimari.io/enable: "false" hosts: - host: &host "theme-park.${SECRET_DOMAIN}" paths: diff --git a/cluster/core/networking/ingress-nginx/app/release.yaml b/cluster/core/networking/ingress-nginx/app/release.yaml index d7703bab..3c48b485 100644 --- a/cluster/core/networking/ingress-nginx/app/release.yaml +++ b/cluster/core/networking/ingress-nginx/app/release.yaml @@ -68,6 +68,11 @@ spec: default-ssl-certificate: "networking/${SECRET_DOMAIN/./-}-production-tls" metrics: enabled: true + serviceMonitor: + enabled: true + namespace: default + namespaceSelector: + any: true resources: requests: memory: 200Mi