From 57d31741966d14f0b1bc5201236b4f9105e8b9dd Mon Sep 17 00:00:00 2001 From: Sebastien Coquelin Date: Mon, 14 Oct 2024 11:27:29 -0700 Subject: [PATCH] feat: relocating metrics port for nidhogg manager to avoid conflicts --- .../nidhogg/overlays/nidhogg-controller-manager.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitops/components/nidhogg/overlays/nidhogg-controller-manager.yaml b/gitops/components/nidhogg/overlays/nidhogg-controller-manager.yaml index 8216b28..e84a57e 100644 --- a/gitops/components/nidhogg/overlays/nidhogg-controller-manager.yaml +++ b/gitops/components/nidhogg/overlays/nidhogg-controller-manager.yaml @@ -8,3 +8,9 @@ - op: add path: /spec/template/spec/hostNetwork value: true +- op: add + path: /spec/template/spec/containers/0/args/- + value: --metrics-addr=8081 +- op: "replace" + path: /spec/template/spec/containers/0/ports/1/containerPort + value: 8081