Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
52 changes: 0 additions & 52 deletions api/v1alpha1/docs/apiref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -288,55 +288,6 @@ Users with captcha score lower than the required one can still be approved manua
|===


[id="{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-checonfig"]
==== CheConfig



Defines all parameters concerned with Che



.Appears In:
****
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-memberoperatorconfigspec[$$MemberOperatorConfigSpec$$]
****

[cols="20a,50a,15a,15a", options="header"]
|===
| Field | Description | Default | Validation
| *`keycloakRouteName`* __string__ | Defines the Che/CRW Keycloak route name + | |
| *`routeName`* __string__ | Defines the Che/CRW route name + | |
| *`namespace`* __string__ | Defines the Che/CRW operator namespace + | |
| *`required`* __boolean__ | Defines a flag that indicates whether the Che/CRW operator is required to be installed on the cluster. May be used in monitoring. + | |
| *`userDeletionEnabled`* __boolean__ | Defines a flag to turn the Che user deletion logic on/off + | |
| *`secret`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-chesecret[$$CheSecret$$]__ | Defines all secrets related to Che configuration + | |
|===


[id="{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-chesecret"]
==== CheSecret



Defines all secrets related to Che configuration



.Appears In:
****
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-checonfig[$$CheConfig$$]
****

[cols="20a,50a,15a,15a", options="header"]
|===
| Field | Description | Default | Validation
| *`ref`* __string__ | Reference is the name of the secret resource to look up + | |
| *`cheAdminUsernameKey`* __string__ | The key for the Che admin username in the secret values map + | |
| *`cheAdminPasswordKey`* __string__ | The key for the Che admin password in the secret values map + | |
|===


[id="{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-chestatus"]
==== CheStatus

Expand Down Expand Up @@ -1089,7 +1040,6 @@ MemberOperatorConfigSpec contains all configuration parameters of the member ope
| Field | Description | Default | Validation
| *`auth`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-authconfig[$$AuthConfig$$]__ | Keeps parameters concerned with authentication + | |
| *`autoscaler`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-autoscalerconfig[$$AutoscalerConfig$$]__ | Keeps parameters concerned with the autoscaler + | |
| *`che`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-checonfig[$$CheConfig$$]__ | Keeps parameters concerned with Che/CRW + | |
| *`console`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-consoleconfig[$$ConsoleConfig$$]__ | Keeps parameters concerned with the console + | |
| *`environment`* __string__ | Environment specifies the member-operator environment such as prod, stage, unit-tests, e2e-tests, dev, etc + | |
| *`skipUserCreation`* __boolean__ | Defines the flag that determines whether User and Identity resources should be created for a UserAccount + | |
Expand Down Expand Up @@ -2329,7 +2279,6 @@ Routes contains information about the public routes available to the user in the
|===
| Field | Description | Default | Validation
| *`consoleURL`* __string__ | ConsoleURL is the web console URL of the cluster + | |
| *`cheDashboardURL`* __string__ | CheDashboardURL is the Che Dashboard URL of the cluster if Che is installed + | |
| *`conditions`* __xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-condition[$$Condition$$] array__ | Conditions is an array of current member operator status conditions +
Supported condition types: ConditionReady + | |
|===
Expand Down Expand Up @@ -3458,7 +3407,6 @@ ToolchainSecret defines a reference to a secret, this type should be included in

.Appears In:
****
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-chesecret[$$CheSecret$$]
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-githubsecret[$$GitHubSecret$$]
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-notificationsecret[$$NotificationSecret$$]
- xref:{anchor_prefix}-github-com-codeready-toolchain-api-api-v1alpha1-registrationserviceverificationsecret[$$RegistrationServiceVerificationSecret$$]
Expand Down
48 changes: 0 additions & 48 deletions api/v1alpha1/memberoperatorconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ type MemberOperatorConfigSpec struct {
// +optional
Autoscaler AutoscalerConfig `json:"autoscaler,omitempty"`

// Keeps parameters concerned with Che/CRW
// +optional
Che CheConfig `json:"che,omitempty"`

// Keeps parameters concerned with the console
// +optional
Console ConsoleConfig `json:"console,omitempty"`
Expand Down Expand Up @@ -72,50 +68,6 @@ type AutoscalerConfig struct {
BufferReplicas *int `json:"bufferReplicas,omitempty"`
}

// Defines all parameters concerned with Che
// +k8s:openapi-gen=true
type CheConfig struct {
// Defines the Che/CRW Keycloak route name
// +optional
KeycloakRouteName *string `json:"keycloakRouteName,omitempty"`

// Defines the Che/CRW route name
// +optional
RouteName *string `json:"routeName,omitempty"`

// Defines the Che/CRW operator namespace
// +optional
Namespace *string `json:"namespace,omitempty"`

// Defines a flag that indicates whether the Che/CRW operator is required to be installed on the cluster. May be used in monitoring.
// +optional
Required *bool `json:"required,omitempty"`

// Defines a flag to turn the Che user deletion logic on/off
// +optional
UserDeletionEnabled *bool `json:"userDeletionEnabled,omitempty"`

// Defines all secrets related to Che configuration
// +optional
Secret CheSecret `json:"secret,omitempty"`
}

// Defines all secrets related to Che configuration
// +k8s:openapi-gen=true
type CheSecret struct {
// The reference to the secret that is expected to contain the keys below
// +optional
ToolchainSecret `json:",inline"`

// The key for the Che admin username in the secret values map
// +optional
CheAdminUsernameKey *string `json:"cheAdminUsernameKey,omitempty"`

// The key for the Che admin password in the secret values map
// +optional
CheAdminPasswordKey *string `json:"cheAdminPasswordKey,omitempty"`
}

// Defines all parameters concerned with the console
// +k8s:openapi-gen=true
type ConsoleConfig struct {
Expand Down
4 changes: 0 additions & 4 deletions api/v1alpha1/memberstatus_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ type Routes struct {
// +optional
ConsoleURL string `json:"consoleURL,omitempty"`

// CheDashboardURL is the Che Dashboard URL of the cluster if Che is installed
// +optional
CheDashboardURL string `json:"cheDashboardURL,omitempty"`

// Conditions is an array of current member operator status conditions
// Supported condition types: ConditionReady
// +optional
Expand Down
68 changes: 0 additions & 68 deletions api/v1alpha1/zz_generated.deepcopy.go

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

109 changes: 1 addition & 108 deletions api/v1alpha1/zz_generated.openapi.go

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

Loading