Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modify clusterpolicyreports in kuttl tests #760

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

MariamFahmy98
Copy link
Contributor

Related Issue(s)

None

Description

This PR fixes the reports generated from kuttl tests as a result of the enhancements made in kyverno/kyverno#8426

Checklist

  • I have read the policy contribution guidelines.
  • [] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.
  • [] I have added the artifacthub-pkg.yml file and have verified it is complete and correct.

@eddycharly
Copy link
Member

@MariamFahmy98 something is still failing

@MariamFahmy98
Copy link
Contributor Author

@MariamFahmy98 something is still failing

Yeah. It seems that CI doesn't have the latest updates from the Kyverno repo.

 case.go:369: resource ClusterPolicyReport:/: .metadata.ownerReferences: key is missing from map

@eddycharly
Copy link
Member

/cherry-pick release-1.11

@eddycharly eddycharly enabled auto-merge (squash) September 21, 2023 07:56
@eddycharly eddycharly merged commit cd47ec5 into kyverno:main Sep 21, 2023
111 of 112 checks passed
gcp-cherry-pick-bot bot pushed a commit that referenced this pull request Sep 21, 2023
Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Charles-Edouard Brétéché <[email protected]>
@MariamFahmy98 MariamFahmy98 deleted the fix-report-tests branch September 21, 2023 07:58
eddycharly added a commit that referenced this pull request Sep 21, 2023
Signed-off-by: Mariam Fahmy <[email protected]>
Co-authored-by: Mariam Fahmy <[email protected]>
Co-authored-by: Charles-Edouard Brétéché <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants