From 8e69d20a2fba16da901433f2d1beb8ecd679d3b4 Mon Sep 17 00:00:00 2001 From: Richard Mokua Date: Mon, 27 Jul 2020 08:02:20 +0200 Subject: [PATCH] Update audit.md correct indentation on the policy file and log file hostPath volumes --- .../tasks/debug-application-cluster/audit.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/content/en/docs/tasks/debug-application-cluster/audit.md b/content/en/docs/tasks/debug-application-cluster/audit.md index 8c81f2c1c9..3addb29be2 100644 --- a/content/en/docs/tasks/debug-application-cluster/audit.md +++ b/content/en/docs/tasks/debug-application-cluster/audit.md @@ -152,14 +152,15 @@ then mount the volumes: finally the hostPath: ``` -- hostPath: - path: /etc/kubernetes/audit-policy.yaml - type: File - name: audit -- hostPath: - path: /var/log/audit.log - type: FileOrCreate - name: audit-log +- name: audit + hostPath: + path: /etc/kubernetes/audit-policy.yaml + type: File + +- name: audit-log + hostPath: + path: /var/log/audit.log + type: FileOrCreate ```