Define apiserver flags directly instead of relying on auditPolicy section in order to have the ability to redirect audit log to stdout with kubeadm

This commit is contained in:
Erwan Miran
2018-08-20 07:00:53 +02:00
parent 855f2a55cb
commit c34900e569
2 changed files with 20 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ force_etcd3: false
# audit support
kubernetes_audit: false
# audit_log_path must not be set to "-" with kubeadm as it only handles a logfile named audit.log
# path to audit log file
audit_log_path: /var/log/audit/kube-apiserver-audit.log
# num days
audit_log_maxage: 30