Description
The RecouseClaim API has deviceClassName
fields to reference the DeviceClass resource in the .spec.devices.requests[*].exactly.deviceClass
and the .spec.devices.requests[*].firstAvailable.deviceClassName
in the following:
kubernetes/staging/src/k8s.io/api/resource/v1beta2/types.go
Lines 762 to 775 in da50238
kubernetes/staging/src/k8s.io/api/resource/v1beta2/types.go
Lines 653 to 666 in da50238
However, as I can see API conventions documentation, the object referencing field name should be named as {field}Ref
format: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#naming-of-the-reference-field
Are these intended violations? Or is the documentation not correct?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status