Skip to content

Commit

Permalink
move PublicViewerConfig into Host
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 320f6b2 commit 06f122b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
14 changes: 7 additions & 7 deletions api/v1alpha1/toolchainconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ type ToolchainConfigSpec struct {
// Contains all member operator configurations for all member clusters
// +optional
Members Members `json:"members,omitempty"`

// Contains the PublicViewer configuration.
// IMPORTANT: To provide a consistent User-Experience, each user
// the space has been directly shared with should have at least
// the same permissions the kubesaw-authenticated user has.
//+optional
PublicViewerConfig *PublicViewerConfiguration `json:"publicViewerConfig,omitempty"`
}

// Configuration to enable the PublicViewer support
Expand Down Expand Up @@ -95,6 +88,13 @@ type HostConfig struct {
// Keeps parameters necessary for configuring Space provisioning functionality
// +optional
SpaceConfig SpaceConfig `json:"spaceConfig,omitempty"`

// Contains the PublicViewer configuration.
// IMPORTANT: To provide a consistent User-Experience, each user
// the space has been directly shared with should have at least
// the same permissions the kubesaw-authenticated user has.
//+optional
PublicViewerConfig *PublicViewerConfiguration `json:"publicViewerConfig,omitempty"`
}

// Members contains all configuration for member operators
Expand Down
10 changes: 5 additions & 5 deletions api/v1alpha1/zz_generated.deepcopy.go

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

16 changes: 8 additions & 8 deletions api/v1alpha1/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 06f122b

Please sign in to comment.