Skip to content

Commit

Permalink
Convert ClusterProfile into a crd
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 15, 2024
1 parent 86c39a2 commit 98d5173
Show file tree
Hide file tree
Showing 54 changed files with 677 additions and 552 deletions.
5 changes: 2 additions & 3 deletions apis/core/v1alpha1/openapi_generated.go

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

5 changes: 2 additions & 3 deletions apis/identity/v1alpha1/openapi_generated.go

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

5 changes: 2 additions & 3 deletions apis/management/v1alpha1/openapi_generated.go

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

153 changes: 2 additions & 151 deletions apis/meta/v1alpha1/openapi_generated.go

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

2 changes: 0 additions & 2 deletions apis/meta/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ func Resource(resource string) schema.GroupResource {
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&ChartPresetQuery{},
&ClusterProfile{},
&ClusterProfileList{},
&ClusterStatus{},
&ResourceCalculator{},
&ResourceDescriptor{},
Expand Down
91 changes: 0 additions & 91 deletions apis/meta/v1alpha1/zz_generated.deepcopy.go

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

5 changes: 2 additions & 3 deletions apis/node/v1alpha1/openapi_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 @@ -28,12 +28,14 @@ const (

// ClusterProfileSpec defines the desired state of ClusterProfile
type ClusterProfileSpec struct {
Title string `json:"title"`
Description string `json:"description"`
Provider string `json:"provider,omitempty"`
RequiredFeatureSets map[string]FeatureList `json:"requiredFeatureSets,omitempty"`
Title string `json:"title"`
Description string `json:"description"`
Provider string `json:"provider,omitempty"`
RequiredFeatureSets map[string]Features `json:"requiredFeatureSets,omitempty"`
}

type Features []string

// ClusterProfile is the Schema for the clusterprofiles API

// +genclient
Expand Down
Loading

0 comments on commit 98d5173

Please sign in to comment.