Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openapi/generated_openapi/zz_generated.openapi.go

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

7 changes: 4 additions & 3 deletions operator/v1alpha1/types_clusterapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,13 @@ type ClusterAPIInstallerRevision struct {
// +optional
UnmanagedCustomResourceDefinitions []string `json:"unmanagedCustomResourceDefinitions,omitempty"`

// components is list of components which will be installed by this
// revision. Components will be installed in the order they are listed.
// components is a list of components which will be installed by this
// revision. Components will be installed in the order they are listed. If
// omitted no components will be installed.
//
// The maximum number of components is 32.
//
// +required
// +optional
// +listType=atomic
// +kubebuilder:validation:MinItems=1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put this back. We don't want an unstructured client to be able to set components: [] since a structured client cannot do this, it would create something that doesn't round trip.

// +kubebuilder:validation:MaxItems=32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ spec:
properties:
components:
description: |-
components is list of components which will be installed by this
revision. Components will be installed in the order they are listed.
components is a list of components which will be installed by this
revision. Components will be installed in the order they are listed. If
omitted no components will be installed.

The maximum number of components is 32.
items:
Expand Down Expand Up @@ -224,7 +225,6 @@ spec:
type: array
x-kubernetes-list-type: atomic
required:
- components
- contentID
- name
- revision
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ spec:
properties:
components:
description: |-
components is list of components which will be installed by this
revision. Components will be installed in the order they are listed.
components is a list of components which will be installed by this
revision. Components will be installed in the order they are listed. If
omitted no components will be installed.

The maximum number of components is 32.
items:
Expand Down Expand Up @@ -225,7 +226,6 @@ spec:
type: array
x-kubernetes-list-type: atomic
required:
- components
- contentID
- name
- revision
Expand Down
2 changes: 1 addition & 1 deletion operator/v1alpha1/zz_generated.swagger_doc_generated.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ spec:
properties:
components:
description: |-
components is list of components which will be installed by this
revision. Components will be installed in the order they are listed.
components is a list of components which will be installed by this
revision. Components will be installed in the order they are listed. If
omitted no components will be installed.

The maximum number of components is 32.
items:
Expand Down Expand Up @@ -224,7 +225,6 @@ spec:
type: array
x-kubernetes-list-type: atomic
required:
- components
- contentID
- name
- revision
Expand Down