From 8c3d11f99d9d9fe446a15c99ee4f159f50d10de8 Mon Sep 17 00:00:00 2001 From: Paul Morie Date: Wed, 7 Oct 2015 13:21:27 -0400 Subject: [PATCH] Fix name of FSGroup field in volume proposal json --- docs/proposals/volumes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/proposals/volumes.md b/docs/proposals/volumes.md index b340acc0cd3..34daf005c7b 100644 --- a/docs/proposals/volumes.md +++ b/docs/proposals/volumes.md @@ -272,7 +272,7 @@ type PodSecurityContext struct { // FSGroup is a supplemental group that all containers in a pod run under. This group will own // volumes that the Kubelet manages ownership for. If this is not specified, the Kubelet will // not set the group ownership of any volumes. - FSGroup *int64 `json:"supplementalGroup"` + FSGroup *int64 `json:"fsGroup,omitempty"` } ``` @@ -285,7 +285,7 @@ type PodSecurityContext struct { // FSGroup is a supplemental group that all containers in a pod run under. This group will own // volumes that the Kubelet manages ownership for. If this is not specified, the Kubelet will // not set the group ownership of any volumes. - FSGroup *int64 `json:"supplementalGroup"` + FSGroup *int64 `json:"fsGroup,omitempty"` } ``` @@ -455,7 +455,7 @@ metadata: name: test-pod spec: securityContext: - supplementalGroup: 1001 + fsGroup: 1001 containers: - name: a securityContext: @@ -487,7 +487,7 @@ metadata: name: test-pod spec: securityContext: - supplementalGroup: 1001 + fsGroup: 1001 containers: - name: a securityContext: