فهرست منبع

fix arrays, use both patches

Grega Bremec 2 سال پیش
والد
کامیت
54f37dfe24
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      deployment/integrate/custom/fix-prometheus-namespace.json
  2. 1 0
      deployment/integrate/custom/kustomization.yml

+ 1 - 1
deployment/integrate/custom/fix-prometheus-namespace.json

@@ -1,3 +1,3 @@
 [
-    { "op": "replace", "path": "/subjects[0]/namespace", "value": "your-prometheus-namespace" }
+    { "op": "replace", "path": "/subjects/0/namespace", "value": "your-prometheus-namespace" }
 ]

+ 1 - 0
deployment/integrate/custom/kustomization.yml

@@ -4,4 +4,5 @@ resources:
   - ../base/
 transformers:
   - use-custom-namespace.yml
+  - fix-podmonitor-namespace.yml
   - fix-prometheus-namespace.yml