Skip to content

Commit

Permalink
status: make namespaced
Browse files Browse the repository at this point in the history
Initially `UpdateStatus` was made namespaces to accomodate HCP more easily, but recently it seems the org has established a practice where HCP resources have specialized variants. We have also identified some differences in how the API will need to behave in HCP, so it makes sense to make the API cluster-scoped in standalone, and in the future we will have a HCP-specific namespaced variant.
  • Loading branch information
petr-muller committed Dec 19, 2024
1 parent efcc8d0 commit 6c7f86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update/v1alpha1/types_update_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:path=updatestatuses,scope=Namespaced
// +kubebuilder:resource:path=updatestatuses,scope=Cluster
// +openshift:api-approved.openshift.io=https://github.com/openshift/api/pull/2012
// +openshift:file-pattern=cvoRunLevel=0000_00,operatorName=cluster-version-operator,operatorOrdering=02
// +openshift:enable:FeatureGate=UpgradeStatus
Expand Down

0 comments on commit 6c7f86b

Please sign in to comment.