normalized omitempty across volumes for all versions
This commit is contained in:
@@ -228,7 +228,7 @@ type VolumeSource struct {
|
||||
|
||||
type PersistentVolumeClaimVolumeSource struct {
|
||||
// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume
|
||||
ClaimName string `json:"claimName,omitempty" description:"the name of the claim in the same namespace to be mounted as a volume"`
|
||||
ClaimName string `json:"claimName" description:"the name of the claim in the same namespace to be mounted as a volume"`
|
||||
// Optional: Defaults to false (read/write). ReadOnly here
|
||||
// will force the ReadOnly setting in VolumeMounts
|
||||
ReadOnly bool `json:"readOnly,omitempty" description:"mount volume as read-only when true; default false"`
|
||||
|
Reference in New Issue
Block a user