Skip to content

Commit

Permalink
feat: add SpaceBindingRequestEnabled flag (#371)
Browse files Browse the repository at this point in the history
* add SpaceBindingRequest Enabled flag
---------

Co-authored-by: Matous Jobanek <[email protected]>
  • Loading branch information
mfrancisc and MatousJobanek authored Aug 9, 2023
1 parent 047b143 commit b2867db
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/v1alpha1/toolchainconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,14 @@ type ToolchainConfigStatus struct {
type SpaceConfig struct {

// SpaceRequestEnabled specifies whether the SpaceRequest controller should start or not.
// This is specifically useful in order to enable/disable this functionality from configuration (e.g. disabled by default in Sandbox and enabled only for StoneSoup stage/prod ...).
// This is specifically useful in order to enable/disable this functionality from configuration (e.g. disabled by default in Sandbox and enabled only for AppStudio stage/prod ...).
// +optional
SpaceRequestEnabled *bool `json:"spaceRequestEnabled,omitempty"`

// SpaceBindingRequestEnabled specifies whether the SpaceBindingRequest controller should start or not.
// This is specifically useful in order to enable/disable this functionality from configuration (e.g. disabled by default in Sandbox and enabled only for AppStudio stage/prod ...).
// +optional
SpaceBindingRequestEnabled *bool `json:"spaceBindingRequestEnabled,omitempty"`
}

//+kubebuilder:object:root=true
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

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

7 changes: 7 additions & 0 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 b2867db

Please sign in to comment.