From 4791559dff77c1c82d628550fd9833f51364f430 Mon Sep 17 00:00:00 2001 From: Sunny Date: Thu, 18 Jan 2018 16:12:30 +0530 Subject: [PATCH] configure-pvs: enable yaml syntax highlighting --- .../configure-persistent-volume-storage.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md b/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md index 58f370e4da..01bd3d1abc 100644 --- a/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md +++ b/docs/tasks/configure-pod-container/configure-persistent-volume-storage.md @@ -172,14 +172,14 @@ with a GID. Then the GID is automatically added to any Pod that uses the PersistentVolume. Use the `pv.beta.kubernetes.io/gid` annotation as follows: - - kind: PersistentVolume - apiVersion: v1 - metadata: - name: pv1 - annotations: - pv.beta.kubernetes.io/gid: "1234" - +```yaml +kind: PersistentVolume +apiVersion: v1 +metadata: + name: pv1 + annotations: + pv.beta.kubernetes.io/gid: "1234" +``` When a Pod consumes a PersistentVolume that has a GID annotation, the annotated GID is applied to all Containers in the Pod in the same way that GIDs specified in the Pod’s security context are. Every GID, whether it originates from a PersistentVolume