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

🐛 e2e: PrivateKcpServer enable audit-policy #2591

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

hardys
Copy link

@hardys hardys commented Jan 11, 2023

Summary

Otherwise we end up with zero-length audit logs in CI...

For example see this - AFAICS all tests using PrivateKcpServer have this problem because we only set the audit-policy flag in the SharedKcpServer fixture

@hardys hardys changed the title 🐛 PrivateKcpServer: enable audit-policy 🐛 e2e: PrivateKcpServer enable audit-policy Jan 11, 2023
@hardys
Copy link
Author

hardys commented Jan 11, 2023

/assign @s-urbaniak we discussed this yesterday, PTAL :)

@hardys
Copy link
Author

hardys commented Jan 11, 2023

/hold

This requires further changes since some tests like TestAuditLogs set the flag explicitly

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 11, 2023
@stevekuznetsov
Copy link
Contributor

LGTM once you update the other tests.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 11, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stevekuznetsov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 11, 2023
Otherwise we end up with zero-length audit logs in CI...
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 11, 2023
@hardys
Copy link
Author

hardys commented Jan 11, 2023

LGTM once you update the other tests.

Thanks @stevekuznetsov - I decided to just default the flag so we only set when not explicitly passed by the test - we can see that working e.g here

We also need to de-duplicate the --audit-log-path in TestAuditLogs but I'll do that as a follow up given it's currently working, and will depend on the ScratchDirs changes we've been discussing in #2407

@hardys
Copy link
Author

hardys commented Jan 11, 2023

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 11, 2023
@s-urbaniak
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 12, 2023
@openshift-merge-robot openshift-merge-robot merged commit ea32ecd into kcp-dev:main Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants