Skip to content

Commit

Permalink
Update device crd spec
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Apr 26, 2022
1 parent 72bc9a8 commit 3382dda
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ spec:
- type
type: object
type: array
nodename:
type: string
required:
- conditions
type: object
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/kubeserial/v1alpha1/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type DeviceCondition struct {
// DeviceStatus defines the observed state of Device
type DeviceStatus struct {
Conditions []DeviceCondition `json:"conditions"`
NodeName string `json:"nodenamd,omitempty"`
NodeName string `json:"nodename,omitempty"`
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Expand Down
6 changes: 6 additions & 0 deletions pkg/apis/kubeserial/v1alpha1/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3382dda

Please sign in to comment.