Skip to content

Commit ad14372

Browse files
committed
chore: add some missing descriptions
Signed-off-by: Niccolò Fei <[email protected]>
1 parent 49cab99 commit ad14372

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

api/v1/objectstore_types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ type ObjectStoreSpec struct {
4848
// +optional
4949
RetentionPolicy string `json:"retentionPolicy,omitempty"`
5050

51+
// The configuration for the sidecar that runs in the instance pods
5152
// +optional
5253
InstanceSidecarConfiguration InstanceSidecarConfiguration `json:"instanceSidecarConfiguration,omitempty"`
5354
}
@@ -81,7 +82,12 @@ type ObjectStore struct {
8182
metav1.TypeMeta `json:",inline"`
8283
metav1.ObjectMeta `json:"metadata"`
8384

85+
// Specification of the desired behavior of the ObjectStore.
86+
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
8487
Spec ObjectStoreSpec `json:"spec"`
88+
// Most recently observed status of the ObjectStore. This data may not be up to
89+
// date. Populated by the system. Read-only.
90+
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
8591
// +optional
8692
Status ObjectStoreStatus `json:"status,omitempty"`
8793
}

docs/src/plugin-barman-cloud.v1.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,18 @@
3030
<a href="#barmancloud-cnpg-io-v1-ObjectStoreSpec"><i>ObjectStoreSpec</i></a>
3131
</td>
3232
<td>
33-
<span class="text-muted">No description provided.</span></td>
33+
<p>Specification of the desired behavior of the ObjectStore.
34+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</p>
35+
</td>
3436
</tr>
3537
<tr><td><code>status</code><br/>
3638
<a href="#barmancloud-cnpg-io-v1-ObjectStoreStatus"><i>ObjectStoreStatus</i></a>
3739
</td>
3840
<td>
39-
<span class="text-muted">No description provided.</span></td>
41+
<p>Most recently observed status of the ObjectStore. This data may not be up to
42+
date. Populated by the system. Read-only.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</p>
44+
</td>
4045
</tr>
4146
</tbody>
4247
</table>
@@ -108,7 +113,8 @@ days, weeks, months.</p>
108113
<a href="#barmancloud-cnpg-io-v1-InstanceSidecarConfiguration"><i>InstanceSidecarConfiguration</i></a>
109114
</td>
110115
<td>
111-
<span class="text-muted">No description provided.</span></td>
116+
<p>The configuration for the sidecar that runs in the instance pods</p>
117+
</td>
112118
</tr>
113119
</tbody>
114120
</table>

0 commit comments

Comments
 (0)