Skip to content

Commit

Permalink
Merge pull request #1082 from spencerhance/frontendconfig-spec-omitempty
Browse files Browse the repository at this point in the history
Update FrontendConfig v1beta1 API so that Spec and Status fields are optional
  • Loading branch information
k8s-ci-robot authored Apr 27, 2020
2 parents 324a8da + 35f86cf commit 49ca081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/frontendconfig/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
type FrontendConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec FrontendConfigSpec `json:"spec"`
Status FrontendConfigStatus `json:"status"`
Spec FrontendConfigSpec `json:"spec,omitempty"`
Status FrontendConfigStatus `json:"status,omitempty"`
}

// FrontendConfigSpec is the spec for a FrontendConfig resource
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/frontendconfig/v1beta1/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 49ca081

Please sign in to comment.