Merge pull request #453 from lfbear/issues-450
Change APIEnablement.Resources to an optional field
This commit is contained in:
commit
26b9fcb272
|
@ -155,7 +155,6 @@ spec:
|
|||
type: array
|
||||
required:
|
||||
- groupVersion
|
||||
- resources
|
||||
type: object
|
||||
type: array
|
||||
conditions:
|
||||
|
|
|
@ -139,7 +139,8 @@ type APIEnablement struct {
|
|||
// GroupVersion is the group and version this APIEnablement is for.
|
||||
GroupVersion string `json:"groupVersion"`
|
||||
// Resources contains the name of the resources.
|
||||
Resources []string `json:"resources"`
|
||||
// +optional
|
||||
Resources []string `json:"resources,omitempty"`
|
||||
}
|
||||
|
||||
// NodeSummary represents the summary of nodes status in a specific cluster.
|
||||
|
|
Loading…
Reference in New Issue