Skip to content

Commit 664e02d

Browse files
committed
Set served: true for v1alpha1 DevWorkspaces and DevWorkspaceTemplates
Signed-off-by: Angel Misevski <[email protected]>
1 parent 7457ed7 commit 664e02d

6 files changed

+4
-6
lines changed

crds/workspace.devfile.io_devworkspaces.v1beta1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4098,7 +4098,7 @@ spec:
40984098
- workspaceId
40994099
type: object
41004100
type: object
4101-
served: false
4101+
served: true
41024102
storage: false
41034103
- additionalPrinterColumns:
41044104
- JSONPath: .status.devworkspaceId

crds/workspace.devfile.io_devworkspaces.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4094,7 +4094,7 @@ spec:
40944094
- workspaceId
40954095
type: object
40964096
type: object
4097-
served: false
4097+
served: true
40984098
storage: false
40994099
subresources:
41004100
status: {}

crds/workspace.devfile.io_devworkspacetemplates.v1beta1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3891,7 +3891,7 @@ spec:
38913891
type: array
38923892
type: object
38933893
type: object
3894-
served: false
3894+
served: true
38953895
storage: false
38963896
- name: v1alpha2
38973897
schema:

crds/workspace.devfile.io_devworkspacetemplates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3889,7 +3889,7 @@ spec:
38893889
type: array
38903890
type: object
38913891
type: object
3892-
served: false
3892+
served: true
38933893
storage: false
38943894
- name: v1alpha2
38953895
schema:

pkg/apis/workspaces/v1alpha1/devworkspace_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ const (
7777
// +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase",description="The current workspace startup phase"
7878
// +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".status.ideUrl",description="Url endpoint for accessing workspace"
7979
// +kubebuilder:deprecatedversion
80-
// +kubebuilder:unservedversion
8180
type DevWorkspace struct {
8281
metav1.TypeMeta `json:",inline"`
8382
metav1.ObjectMeta `json:"metadata,omitempty"`

pkg/apis/workspaces/v1alpha1/devworkspacetemplate_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
// +k8s:openapi-gen=true
1111
// +kubebuilder:resource:path=devworkspacetemplates,scope=Namespaced,shortName=dwt
1212
// +kubebuilder:deprecatedversion
13-
// +kubebuilder:unservedversion
1413
type DevWorkspaceTemplate struct {
1514
metav1.TypeMeta `json:",inline"`
1615
metav1.ObjectMeta `json:"metadata,omitempty"`

0 commit comments

Comments
 (0)