From c058e7a5ec200eab440fdca6f9837d7ae21e32b9 Mon Sep 17 00:00:00 2001 From: Andreas Kruger Date: Wed, 19 Sep 2018 13:15:14 +0200 Subject: [PATCH] Remove audit again from Kubeadm 1.10.x. Write mounts not supported untill 1.11 --- .../master/templates/kubeadm-config.v1alpha1.yaml.j2 | 7 ------- 1 file changed, 7 deletions(-) diff --git a/roles/kubernetes/master/templates/kubeadm-config.v1alpha1.yaml.j2 b/roles/kubernetes/master/templates/kubeadm-config.v1alpha1.yaml.j2 index 52f9c88f3..d2a0d2db2 100644 --- a/roles/kubernetes/master/templates/kubeadm-config.v1alpha1.yaml.j2 +++ b/roles/kubernetes/master/templates/kubeadm-config.v1alpha1.yaml.j2 @@ -101,13 +101,6 @@ apiServerExtraArgs: runtime-config: {{ kube_api_runtime_config | join(',') }} {% endif %} allow-privileged: "true" -{% if kubernetes_audit %} - audit-log-path: "{{ audit_log_path }}" - audit-log-maxage: "{{ audit_log_maxage }}" - audit-log-maxbackup: "{{ audit_log_maxbackups }}" - audit-log-maxsize: "{{ audit_log_maxsize }}" - audit-policy-file: {{ audit_policy_file }} -{% endif %} {% for key in kube_kubeadm_apiserver_extra_args %} {{ key }}: "{{ kube_kubeadm_apiserver_extra_args[key] }}" {% endfor %}