devops project should be cluster
Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
@@ -10,11 +10,13 @@ metadata:
|
||||
spec:
|
||||
group: devops.kubesphere.io
|
||||
names:
|
||||
categories:
|
||||
- devops
|
||||
kind: DevOpsProject
|
||||
listKind: DevOpsProjectList
|
||||
plural: devopsprojects
|
||||
singular: devopsproject
|
||||
scope: Namespaced
|
||||
scope: Cluster
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
description: DevOpsProject is the Schema for the devopsprojects API
|
||||
|
||||
@@ -49,6 +49,7 @@ type DevOpsProjectStatus struct {
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// DevOpsProject is the Schema for the devopsprojects API
|
||||
// +kubebuilder:resource:categories="devops",scope="Cluster"
|
||||
// +k8s:openapi-gen=true
|
||||
type DevOpsProject struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
Reference in New Issue
Block a user