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