Skip to content

Commit 58a23c2

Browse files
authored
[slice] API cleanup (#840)
* Remove unnecessary API fields * Update manifests
1 parent cf114f1 commit 58a23c2

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

slice/api/v1alpha1/slice_types.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ type SliceStatus struct {
5555
// Conditions store the status conditions of the Slice
5656
// +operator-sdk:csv:customresourcedefinitions:type=status
5757
Conditions []metav1.Condition `json:"conditions,omitempty"`
58-
59-
// Populated to match the physical topology of block the Super-Slice is running on
60-
BlockId string `json:"blockId,omitempty"`
61-
62-
// Populated to list of physical topology of sub-block the Super-Slice is running on
63-
SubBlockIds []string `json:"subBlockIds,omitempty"`
6458
}
6559

6660
// +kubebuilder:object:root=true

slice/api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

slice/config/crd/bases/slice.accelerator.gke.io_slices.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ spec:
8383
status:
8484
description: SliceStatus defines the observed state of Slice.
8585
properties:
86-
blockId:
87-
description: Populated to match the physical topology of block the
88-
Super-Slice is running on
89-
type: string
9086
conditions:
9187
description: Conditions store the status conditions of the Slice
9288
items:
@@ -144,12 +140,6 @@ spec:
144140
- type
145141
type: object
146142
type: array
147-
subBlockIds:
148-
description: Populated to list of physical topology of sub-block the
149-
Super-Slice is running on
150-
items:
151-
type: string
152-
type: array
153143
type: object
154144
type: object
155145
served: true

0 commit comments

Comments
 (0)