Skip to content

Commit 4532d90

Browse files
committed
DRA: Fix ResourceClaimTemplateSpec comment
ObjectMeta for the ResourceClaimTemplateSpec are copied into ResourceClaim not PVC. Signed-off-by: Lionel Jouin <[email protected]>
1 parent 9413cf2 commit 4532d90

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

api/openapi-spec/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/v3/apis__resource.k8s.io__v1alpha3_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@
10421042
}
10431043
],
10441044
"default": {},
1045-
"description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."
1045+
"description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
10461046
},
10471047
"spec": {
10481048
"allOf": [

pkg/apis/resource/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ type ResourceClaimTemplate struct {
10051005

10061006
// ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
10071007
type ResourceClaimTemplateSpec struct {
1008-
// ObjectMeta may contain labels and annotations that will be copied into the PVC
1008+
// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim
10091009
// when creating it. No other fields are allowed and will be rejected during
10101010
// validation.
10111011
// +optional

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/resource/v1alpha3/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/resource/v1alpha3/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ type ResourceClaimTemplate struct {
10211021

10221022
// ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
10231023
type ResourceClaimTemplateSpec struct {
1024-
// ObjectMeta may contain labels and annotations that will be copied into the PVC
1024+
// ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim
10251025
// when creating it. No other fields are allowed and will be rejected during
10261026
// validation.
10271027
// +optional

staging/src/k8s.io/api/resource/v1alpha3/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)