mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
docs: typo fix in VolumeAttachments
Fix typo and grammar in comments that get reflected through to the generated documentation, regarding VolumeAttachments' use of PersistentVolumes and PersistentVolumeClaims. Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
4aeaf1e99e
commit
fe5b74b1f8
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -16686,7 +16686,7 @@
|
||||
]
|
||||
},
|
||||
"io.k8s.api.storage.v1.VolumeAttachmentSource": {
|
||||
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"properties": {
|
||||
"inlineVolumeSpec": {
|
||||
"$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeSpec",
|
||||
|
@ -1834,7 +1834,7 @@
|
||||
]
|
||||
},
|
||||
"io.k8s.api.storage.v1.VolumeAttachmentSource": {
|
||||
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"properties": {
|
||||
"inlineVolumeSpec": {
|
||||
"allOf": [
|
||||
|
@ -33,7 +33,7 @@ var (
|
||||
&metrics.CounterOpts{
|
||||
Subsystem: EphemeralVolumeSubsystem,
|
||||
Name: "create_total",
|
||||
Help: "Number of PersistenVolumeClaims creation requests",
|
||||
Help: "Number of PersistentVolumeClaim creation requests",
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
})
|
||||
// EphemeralVolumeCreateFailures tracks the number of unsuccessful
|
||||
@ -42,7 +42,7 @@ var (
|
||||
&metrics.CounterOpts{
|
||||
Subsystem: EphemeralVolumeSubsystem,
|
||||
Name: "create_failures_total",
|
||||
Help: "Number of PersistenVolumeClaims creation requests",
|
||||
Help: "Number of PersistentVolumeClaim creation requests",
|
||||
StabilityLevel: metrics.ALPHA,
|
||||
})
|
||||
)
|
||||
|
6
pkg/generated/openapi/zz_generated.openapi.go
generated
6
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -48572,7 +48572,7 @@ func schema_k8sio_api_storage_v1_VolumeAttachmentSource(ref common.ReferenceCall
|
||||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"persistentVolumeName": {
|
||||
@ -48955,7 +48955,7 @@ func schema_k8sio_api_storage_v1alpha1_VolumeAttachmentSource(ref common.Referen
|
||||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"persistentVolumeName": {
|
||||
@ -50016,7 +50016,7 @@ func schema_k8sio_api_storage_v1beta1_VolumeAttachmentSource(ref common.Referenc
|
||||
return common.OpenAPIDefinition{
|
||||
Schema: spec.Schema{
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Description: "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
Type: []string{"object"},
|
||||
Properties: map[string]spec.Schema{
|
||||
"persistentVolumeName": {
|
||||
|
@ -491,8 +491,8 @@ message VolumeAttachmentList {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
message VolumeAttachmentSource {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -169,8 +169,8 @@ type VolumeAttachmentSpec struct {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
type VolumeAttachmentSource struct {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -185,7 +185,7 @@ func (VolumeAttachmentList) SwaggerDoc() map[string]string {
|
||||
}
|
||||
|
||||
var map_VolumeAttachmentSource = map[string]string{
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"persistentVolumeName": "persistentVolumeName represents the name of the persistent volume to attach.",
|
||||
}
|
||||
|
||||
|
@ -155,8 +155,8 @@ message VolumeAttachmentList {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
message VolumeAttachmentSource {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -84,8 +84,8 @@ type VolumeAttachmentSpec struct {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
type VolumeAttachmentSource struct {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -72,7 +72,7 @@ func (VolumeAttachmentList) SwaggerDoc() map[string]string {
|
||||
}
|
||||
|
||||
var map_VolumeAttachmentSource = map[string]string{
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"persistentVolumeName": "persistentVolumeName represents the name of the persistent volume to attach.",
|
||||
}
|
||||
|
||||
|
@ -493,8 +493,8 @@ message VolumeAttachmentList {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
message VolumeAttachmentSource {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -176,8 +176,8 @@ type VolumeAttachmentSpec struct {
|
||||
}
|
||||
|
||||
// VolumeAttachmentSource represents a volume that should be attached.
|
||||
// Right now only PersistenVolumes can be attached via external attacher,
|
||||
// in future we may allow also inline volumes in pods.
|
||||
// Right now only PersistentVolumes can be attached via external attacher,
|
||||
// in the future we may allow also inline volumes in pods.
|
||||
// Exactly one member can be set.
|
||||
type VolumeAttachmentSource struct {
|
||||
// persistentVolumeName represents the name of the persistent volume to attach.
|
||||
|
@ -185,7 +185,7 @@ func (VolumeAttachmentList) SwaggerDoc() map[string]string {
|
||||
}
|
||||
|
||||
var map_VolumeAttachmentSource = map[string]string{
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
|
||||
"persistentVolumeName": "persistentVolumeName represents the name of the persistent volume to attach.",
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user