From 711553ad93ea248facad4bba9a8c8a2d3730aca5 Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Mon, 10 Nov 2025 20:39:40 +0100 Subject: [PATCH] Refactor ignoreDifferences in application.yaml to use jqPathExpressions for HTTPRoute --- apps/monitoring/prometheus/application.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/apps/monitoring/prometheus/application.yaml b/apps/monitoring/prometheus/application.yaml index 6e47a22..69d3435 100644 --- a/apps/monitoring/prometheus/application.yaml +++ b/apps/monitoring/prometheus/application.yaml @@ -36,9 +36,6 @@ spec: ignoreDifferences: - group: gateway.networking.k8s.io kind: HTTPRoute - jsonPointers: - - /spec/parentRefs/0/group - - /spec/parentRefs/0/kind - - /spec/rules/0/backendRefs/0/group - - /spec/rules/0/backendRefs/0/kind - - /spec/rules/0/backendRefs/0/weight + jqPathExpressions: + - .spec.parentRefs[] | .group, .kind + - .spec.rules[].backendRefs[] | .group, .kind, .weight