Skip to content

Commit 3600b75

Browse files
committed
update comment
Signed-off-by: Britania Rodriguez Reyes <[email protected]>
1 parent 0ad9cc6 commit 3600b75

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apis/placement/v1beta1/clusterresourceplacement_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ type PlacementSpec struct {
150150
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
151151

152152
// StatusReportingScope controls where ClusterResourcePlacement status information is made available.
153-
// This field only applies to ClusterResourcePlacements that select a single namespace.
154153
// When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
155154
// When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
156-
// providing namespace-scoped access to the placement status alongside the cluster-scoped status.
155+
// providing namespace-scoped access to the placement status alongside the cluster-scoped status. This option is only
156+
// supported when the ClusterResourcePlacement targets exactly one namespace.
157157
// Defaults to "ClusterScopeOnly".
158158
// +kubebuilder:default=ClusterScopeOnly
159159
// +kubebuilder:validation:Enum=ClusterScopeOnly;ClusterAndNamespaceScope

config/crd/bases/placement.kubernetes-fleet.io_clusterresourceplacements.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,10 +1678,10 @@ spec:
16781678
default: ClusterScopeOnly
16791679
description: |-
16801680
StatusReportingScope controls where ClusterResourcePlacement status information is made available.
1681-
This field only applies to ClusterResourcePlacements that select a single namespace.
16821681
When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
16831682
When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
1684-
providing namespace-scoped access to the placement status alongside the cluster-scoped status.
1683+
providing namespace-scoped access to the placement status alongside the cluster-scoped status. This option is only
1684+
supported when the ClusterResourcePlacement targets exactly one namespace.
16851685
Defaults to "ClusterScopeOnly".
16861686
enum:
16871687
- ClusterScopeOnly

config/crd/bases/placement.kubernetes-fleet.io_resourceplacements.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,10 +613,10 @@ spec:
613613
default: ClusterScopeOnly
614614
description: |-
615615
StatusReportingScope controls where ClusterResourcePlacement status information is made available.
616-
This field only applies to ClusterResourcePlacements that select a single namespace.
617616
When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
618617
When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
619-
providing namespace-scoped access to the placement status alongside the cluster-scoped status.
618+
providing namespace-scoped access to the placement status alongside the cluster-scoped status. This option is only
619+
supported when the ClusterResourcePlacement targets exactly one namespace.
620620
Defaults to "ClusterScopeOnly".
621621
enum:
622622
- ClusterScopeOnly

0 commit comments

Comments
 (0)