diff options
| author | zhu733756 <talonzhu@yunify.com> | 2021-10-08 17:05:08 +0800 |
|---|---|---|
| committer | zhu733756 <talonzhu@yunify.com> | 2021-10-08 17:05:08 +0800 |
| commit | 40cd41015e7f5db188e9b15af274c523fac675ee (patch) | |
| tree | 1eff2549b673856db475d232f7ebdbb4e21e518c /build | |
| parent | Add kubebuilder comments to support enum and subresource (diff) | |
| download | kubeedge-40cd41015e7f5db188e9b15af274c523fac675ee.tar.gz | |
add kubebuilder comments to support correct CR-definition
Signed-off-by: zhu733756 <talonzhu@yunify.com>
Diffstat (limited to 'build')
| -rw-r--r-- | build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml | 2 | ||||
| -rw-r--r-- | build/crds/reliablesyncs/objectsync_v1alpha1.yaml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml b/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml index 4f761a6f2..3b34ba233 100644 --- a/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml +++ b/build/crds/reliablesyncs/cluster_objectsync_v1alpha1.yaml @@ -14,7 +14,7 @@ spec: listKind: ClusterObjectSyncList plural: clusterobjectsyncs singular: clusterobjectsync - scope: Namespaced + scope: Cluster versions: - name: v1alpha1 schema: diff --git a/build/crds/reliablesyncs/objectsync_v1alpha1.yaml b/build/crds/reliablesyncs/objectsync_v1alpha1.yaml index b44ed6093..851336c53 100644 --- a/build/crds/reliablesyncs/objectsync_v1alpha1.yaml +++ b/build/crds/reliablesyncs/objectsync_v1alpha1.yaml @@ -64,6 +64,8 @@ spec: type: object served: true storage: true + subresources: + status: {} status: acceptedNames: kind: "" |
