forked from hairyhenderson/gomplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
e,g.
# We added a 0 in the jq list because CEL was behaving incorrectly for objects that returned just []
- filter: >
change.change_type == 'diff' &&
jq('[.status.initContainerStatuses[]?.restartCount,.status.containerStatuses[]?.restartCount]', patch).all(rc, rc != 0)
jq('[.status.initContainerStatuses[]?.restartCount,.status.containerStatuses[]?.restartCount, 0]', patch).all(rc, rc != 0)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working