Skip to content

Commit

Permalink
remove spec for workload
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Jan 6, 2025
1 parent fa6e0db commit ce6e96f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// WorkloadSpec defines the desired state of Workload
type WorkloadSpec struct {
// Placeholder for future spec fields
}

// WorkloadStatus defines the observed state of Workload
type WorkloadStatus struct {
// Kind represents the type of workload (redis, postgres, etc.)
Expand Down Expand Up @@ -58,7 +53,6 @@ type Workload struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec WorkloadSpec `json:"spec,omitempty"`
Status WorkloadStatus `json:"status,omitempty"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ spec:
- jsonPath: .status.resources.memory
name: Memory
type: string
- format: upper
jsonPath: .status.operational
- jsonPath: .status.operational
name: Operational
type: boolean
name: v1alpha1
Expand All @@ -53,9 +52,6 @@ spec:
type: string
metadata:
type: object
spec:
description: WorkloadSpec defines the desired state of Workload
type: object
status:
description: WorkloadStatus defines the observed state of Workload
properties:
Expand Down

0 comments on commit ce6e96f

Please sign in to comment.