Skip to content

Commit 45a2ec5

Browse files
committed
Improve CRD docs
1 parent 58ab5ca commit 45a2ec5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

crates/stackable-operator/crds/DummyCluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,8 @@ spec:
639639
description: |-
640640
A list of generic Kubernetes objects, which are merged onto the objects that the operator
641641
creates.
642+
643+
List entries are arbitrary YAML objects, which need to be valid Kubernetes objects.
642644
items:
643645
type: object
644646
x-kubernetes-preserve-unknown-fields: true

crates/stackable-operator/src/patchinator/crd.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ pub struct ObjectOverrides {
1010
/// A list of generic Kubernetes objects, which are merged onto the objects that the operator
1111
/// creates.
1212
///
13+
/// List entries are arbitrary YAML objects, which need to be valid Kubernetes objects.
14+
//
1315
// TODO: Add link to concepts page once it exists
1416
#[serde(default)]
1517
#[schemars(schema_with = "raw_object_list_schema")]

0 commit comments

Comments
 (0)