Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Ilario <filario@redhat.com>
  • Loading branch information
filariow committed Jun 27, 2024
1 parent 06f122b commit 15690c7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions api/v1alpha1/toolchainconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ type ToolchainConfigSpec struct {
Members Members `json:"members,omitempty"`
}

// Configuration to enable the PublicViewer support
// +k8s:openapi-gen=true
type PublicViewerConfiguration struct {
// Defines whether the PublicViewer support should be enabled or not
//+required
//+kubebuilder:default:=false
Enabled bool `json:"enabled"`
}

// HostConfig contains all configuration parameters of the host operator
// +k8s:openapi-gen=true
type HostConfig struct {
Expand Down Expand Up @@ -579,6 +570,15 @@ type SpaceConfig struct {
SpaceBindingRequestEnabled *bool `json:"spaceBindingRequestEnabled,omitempty"`
}

// Configuration to enable the PublicViewer support
// +k8s:openapi-gen=true
type PublicViewerConfiguration struct {
// Defines whether the PublicViewer support should be enabled or not
//+required
//+kubebuilder:default:=false
Enabled bool `json:"enabled"`
}

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status

Expand Down

0 comments on commit 15690c7

Please sign in to comment.