Skip to content

Commit

Permalink
add label app.kubernetes.io/managed-by to PolicyReports
Browse files Browse the repository at this point in the history
Signed-off-by: Issif <[email protected]>
  • Loading branch information
Issif committed Jul 22, 2022
1 parent f0b77c1 commit 91ff55e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions outputs/policyreport.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ func updatePolicyReports(c *Client, namespace string, event *wgpolicy.PolicyRepo
policyReports[namespace] = &wgpolicy.PolicyReport{
ObjectMeta: metav1.ObjectMeta{
Name: policyReportBaseName + uuid.NewString()[:8],
Labels: map[string]string{
"app.kubernetes.io/managed-by": "falcosidekick",
},
},
Summary: wgpolicy.PolicyReportSummary{
Fail: 0,
Expand Down

0 comments on commit 91ff55e

Please sign in to comment.