Skip to content

Commit 0ad9cc6

Browse files
committed
add comment
Signed-off-by: Britania Rodriguez Reyes <[email protected]>
1 parent 3b22ed8 commit 0ad9cc6

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

apis/placement/v1beta1/clusterresourceplacement_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ 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.
153154
// When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
154155
// When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
155156
// providing namespace-scoped access to the placement status alongside the cluster-scoped status.
@@ -483,7 +484,8 @@ const (
483484
)
484485

485486
// StatusReportingScope defines where ClusterResourcePlacement status information is made available.
486-
// This enables different levels of access to placement status across cluster and namespace scopes.
487+
// This setting only applies to ClusterResourcePlacements that select resources from a single namespace.
488+
// It enables different levels of access to placement status across cluster and namespace scopes.
487489
// +enum
488490
type StatusReportingScope string
489491

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,6 +1678,7 @@ 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.
16811682
When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
16821683
When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
16831684
providing namespace-scoped access to the placement status alongside the cluster-scoped status.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ 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.
616617
When set to "ClusterScopeOnly", status is accessible only through the cluster-scoped ClusterResourcePlacement object.
617618
When set to "ClusterAndNamespaceScope", a ClusterResourcePlacementStatus object is created in the target namespace,
618619
providing namespace-scoped access to the placement status alongside the cluster-scoped status.

0 commit comments

Comments
 (0)