Add jsonnet function to patch upstream rules#1073
Conversation
|
Holding as we need to wait for #1044. /hold |
|
This PR is still WIP as we need to wait for the jsonnet refactor before applying these functions in the main script. @paulfantom can you please do a first pass on this PR? I tested it on top of your refactor and the assets are correctly generated. |
|
Can we implement a wrapping function like |
|
@paulfantom are you OK with implementing |
|
/unhold |
|
@s-urbaniak @paulfantom I applied your comments PTAL |
5a2a43d to
6be0dc0
Compare
|
/lgtm |
|
@dgrisonnet this needs a rebase :( |
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
|
/lgtm |
Merge patch and exclude intermediate functions. Use std.startsWith instead of the `==` operator for comparison to make it easier to modify group of rules. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgrisonnet, paulfantom, s-urbaniak The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
/test e2e-agnostic-upgrade |
1 similar comment
|
/test e2e-agnostic-upgrade |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Wtih the recent requests to patch upstream alerts to match OCP use cases, we will need a jsonnet function to easily apply the downstream patches.
This PR is based on the changes made in #1044.