Skip to content

Commit

Permalink
make state not required
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichSchreiner committed Jan 24, 2024
1 parent c959da9 commit ac01058
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1/clusterwidenetworkpolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type PolicyStatus struct {
// +optional
FQDNState FQDNState `json:"fqdn_state,omitempty"`

State PolicyDeploymentState `json:"state"`
State PolicyDeploymentState `json:"state,omitempty"`

Message string `json:"message,omitempty"`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ spec:
type: string
state:
type: string
required:
- state
type: object
type: object
served: true
Expand Down

0 comments on commit ac01058

Please sign in to comment.