Add jqFilter

This commit is contained in:
Nikolai Rodionov 2024-04-02 18:59:16 +02:00
parent 6c75c3e83a
commit 7a879f5ff1
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,8 @@ kubernetes:
- name: Watch bootstrap configmaps getting removed
apiVersion: v1
kind: ConfigMap
executeHookOnEvent: ["Deleted"]
executeHookOnEvent: ["Modified"]
jqFilter: ".metadata.deletionTimestamp"
labelSelector:
matchExpressions:
- key: "component"

View File

@ -12,7 +12,7 @@ kubernetes:
- name: Watch bootstrap configmaps getting created
apiVersion: v1
kind: ConfigMap
executeHookOnEvent: ["Added"]
executeHookOnEvent: ["Added", "Modified"]
jqFilter: ".data"
labelSelector:
matchExpressions: