|
|
@ -80,9 +80,9 @@ apiServerExtraArgs: |
|
|
|
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-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 %} |
|
|
@ -107,7 +107,7 @@ apiServerExtraVolumes: |
|
|
|
- name: {{ audit_log_name }} |
|
|
|
hostPath: {{ audit_log_hostpath }} |
|
|
|
mountPath: {{ audit_log_mountpath }} |
|
|
|
Writable: true |
|
|
|
writable: true |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if kube_feature_gates %} |
|
|
@ -135,7 +135,3 @@ nodeRegistration: |
|
|
|
taints: |
|
|
|
- effect: NoSchedule |
|
|
|
key: node-role.kubernetes.io/master |
|
|
|
{% if kubernetes_audit %} |
|
|
|
featureGates: |
|
|
|
Auditing: true |
|
|
|
{% endif %} |