-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Enable audit log in local cluster #42379
Enable audit log in local cluster #42379
Conversation
Hi @xilabao. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@k8s-bot ok to test |
@k82cn Thanks for your reminding. updated |
hack/local-up-cluster.sh
Outdated
@@ -713,6 +733,7 @@ Local Kubernetes cluster is running. Press Ctrl-C to shut it down. | |||
|
|||
Logs: | |||
${APISERVER_LOG:-} | |||
${APISERVER_BASIC_AUDIT_LOG:-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should not printed this if not enabling the audit log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
Why need enable RBAC for this? @xilabao |
4a9a057
to
183fd62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm thanks @xilabao
1 similar comment
@k8s-bot gci gke e2e test this |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED The following people have approved this PR: xilabao, zmerlynn Needs approval from an approver in each of these OWNERS Files:
We suggest the following people: |
@k8s-bot gce etcd3 e2e test this |
@k8s-bot kubemark e2e test this |
@k8s-bot unit test this |
Automatic merge from submit-queue (batch tested with PRs 42379, 42668, 42876, 41473, 43260) |
fixes #42318
ENABLE_APISERVER_BASIC_AUDIT=true hack/local-up-cluster.sh