Package v1alpha1 contains API Schema definitions for the toolchain.dev.openshift.com v1alpha1 API group
Defines all parameters concerned with the autoscaler
Field | Description | Default | Validation |
---|---|---|---|
|
Represents the configured identity provider |
Defines all parameters necessary for automatic approval
Field | Description | Default | Validation |
---|---|---|---|
|
Defines if the automatic approval is enabled or not |
||
|
Comma-separated email domains to consider for auto-approval. |
Defines all parameters concerned with the autoscaler
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the flag that determines whether to deploy the autoscaler buffer |
||
|
Represents how much memory should be required by the autoscaler buffer |
||
|
Represents how much CPU should be required by the autoscaler buffer |
||
|
Represents the number of autoscaler buffer replicas to request |
BannedUser is used to maintain a list of banned e-mail addresses
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
BannedUserList contains a list of BannedUser
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
BannedUserSpec defines the desired state of BannedUser
Field | Description | Default | Validation |
---|---|---|---|
|
The e-mail address of the account that has been banned |
||
|
Reason of the ban |
Binding defines a user role in a given workspace, and available actions that can be performed on the role
Field | Description | Default | Validation |
---|---|---|---|
|
MasterUserRecord is the name of the user that has access to the workspace. |
||
|
Role is the role of the user in the current workspace. For example "admin" for the user that has all permissions on the current workspace. |
||
|
AvailableActions is a list of actions that can be performed on the binding. |
||
|
BindingRequest provides the name and namespace of the SpaceBindingRequest that generated the SpaceBinding resource. |
BindingRequest contains the name and the namespace where of the associated SpaceBindingRequest.
Field | Description | Default | Validation |
---|---|---|---|
|
Name of the SpaceBindingRequest that generated the SpaceBinding resource. |
||
|
Namespace of the SpaceBindingRequest that generated the SpaceBinding resource. |
CaptchaConfig defines any configuration related to captcha verification
Field | Description | Default | Validation |
---|---|---|---|
|
Enabled specifies whether the captcha verification feature is enabled or not |
||
|
ScoreThreshold defines the captcha assessment score threshold. A score equal to or above the threshold means the user is most likely human and |
||
|
RequiredScore defines the lowest captcha score, below this score the user cannot proceed with the signup process at all. |
||
|
AllowLowScoreReactivation specifies whether the reactivation for users with low captcha score (below the RequiredScore) is enabled without the need for manual approval. |
||
|
SiteKey defines the recaptcha site key to use when making recaptcha requests. There can be different ones for different environments. eg. dev, stage, prod |
||
|
ProjectID defines the GCP project ID that has the recaptcha service enabled. |
Defines all parameters concerned with Che
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the Che/CRW Keycloak route name |
||
|
Defines the Che/CRW route name |
||
|
Defines the Che/CRW operator namespace |
||
|
Defines a flag that indicates whether the Che/CRW operator is required to be installed on the cluster. May be used in monitoring. |
||
|
Defines a flag to turn the Che user deletion logic on/off |
||
|
Defines all secrets related to Che configuration |
Defines all secrets related to Che configuration
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
||
|
The key for the Che admin username in the secret values map |
||
|
The key for the Che admin password in the secret values map |
CheStatus contains information about the status of Che/CRW, such as installed and whether the member configuration is correct
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current Che status conditions |
Field | Description | Default | Validation |
---|---|---|---|
|
Name is the name of the corresponding ToolchainCluster resource |
Field | Description | Default | Validation |
---|---|---|---|
|
Type of condition |
||
|
Status of the condition, one of True, False, Unknown. |
||
|
Last time the condition transit from one status to another. |
||
|
(brief) reason for the condition’s last transition. |
||
|
Human readable message indicating details about last transition. |
||
|
Last time the condition was updated |
Defines all parameters concerned with the console
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the console route namespace |
||
|
Defines the console route name |
ConsumedCapacity describes the capacity of the cluster consumed by the spaces currently provisioned to it.
Field | Description | Default | Validation |
---|---|---|---|
|
MemoryUsagePercentPerNodeRole is the percent of the memory used per node role (eg. worker, master) |
||
|
SpaceCount is the number of spaces currently deployed to the cluster |
DeactivationConfig contains all configuration parameters related to deactivation
Field | Description | Default | Validation |
---|---|---|---|
|
DeactivatingNotificationDays is the number of days after a pre-deactivating notification is sent that actual |
||
|
DeactivationDomainsExcluded is a string of comma-separated domains that should be excluded from automatic user deactivation |
||
|
UserSignupDeactivatedRetentionDays is used to configure how many days we should keep deactivated UserSignup |
||
|
UserSignupUnverifiedRetentionDays is used to configure how many days we should keep unverified (i.e. the user |
Field | Description | Default | Validation |
---|---|---|---|
|
SegmentWriteKey specifies the segment write key |
FeatureToggle defines a feature toggle/flag. Each feature is supposed to have a unique name. Features are represented by kube object manifests in space and user templates. Such manifests must have an annotation which refers to the corresponding feature name. For example a manifest for a RoleBinding object in a space tier template with the following annotation: "toolchain.dev.openshift.com/feature: os-lightspeed" would refer to a feature with "os-lightspeed" name. When that template is applied for a new space then that RoleBinding object would be applied conditionally, according to its weight.
Field | Description | Default | Validation |
---|---|---|---|
|
A unique name of the feature |
||
|
Rollout weight of the feature. An integer between 0-100. |
100 |
Maximum: 100 |
GitHubSecret defines all secrets related to GitHub authentication/integration
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
||
|
The key for the GitHub Access token in the secret values map |
HostConfig contains all configuration parameters of the host operator
Field | Description | Default | Validation |
---|---|---|---|
|
Environment specifies the host-operator environment such as prod, stage, unit-tests, e2e-tests, dev, etc |
||
|
Keeps parameters necessary for automatic approval |
||
|
Keeps parameters concerned with user deactivation |
||
|
Keeps parameters concerned with metrics |
||
|
Keeps parameters concerned with notifications |
||
|
Keeps parameters necessary for the registration service |
||
|
Keeps parameters concerned with tiers |
||
|
Keeps parameters concerned with the toolchainstatus |
||
|
Keeps parameters concerned with user management |
||
|
Keeps parameters necessary for configuring Space provisioning functionality |
||
|
Contains the PublicViewer configuration. |
HostOperatorStatus defines the observed state of a toolchain’s host operator
Field | Description | Default | Validation |
---|---|---|---|
|
The version of the operator |
||
|
The commit id from the host-operator repository used to build the operator |
||
|
The timestamp of the host operator build |
||
|
The status of the host operator’s deployment |
||
|
Conditions is an array of current host operator status conditions |
||
|
The status of the revision check for host operator’s deployment |
HostRegistrationServiceStatus defines the observed state of a toolchain’s registration service
Field | Description | Default | Validation |
---|---|---|---|
|
Deployment is the status of the registration service’s deployment |
||
|
RegistrationServiceResources is the status for resources created for the registration service |
||
|
Health provides health status of the registration service |
||
|
The status of the revision check for registration service |
HostRoutes contains information about the public routes available to the user in the host cluster
Field | Description | Default | Validation |
---|---|---|---|
|
ProxyURL is the Proxy URL of the cluster |
||
|
Conditions is an array of current member operator status conditions |
HostStatus defines the status of the connection with the host cluster
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current member operator status conditions |
IdentityClaimsEmbedded is used to define a set of SSO claim values that we are interested in storing
Field | Description | Default | Validation |
---|---|---|---|
|
Sub contains the value of the 'sub' claim |
||
|
UserID contains the value of the 'user_id' claim |
||
|
AccountID contains the value of the 'account_id' claim |
||
|
OriginalSub is an optional property temporarily introduced for the purpose of migrating the users to |
||
|
Email contains the user’s email address |
||
|
PreferredUsername contains the user’s username |
||
|
GivenName contains the value of the 'given_name' claim |
||
|
FamilyName contains the value of the 'family_name' claim |
||
|
Company contains the value of the 'company' claim |
Idler enables automatic idling of payloads in a user namespaces where the name of the Idler matches the name of the corresponding namespace. For example an Idler with "foo" name will be managing pods in namespace "foo".
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
IdlerList contains a list of Idlers
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
IdlerSpec defines the desired state of Idler
Field | Description | Default | Validation |
---|---|---|---|
|
TimeoutSeconds is the number of seconds before the running pods will be deleted |
IdlerStatus defines the observed state of Idler
Field | Description | Default | Validation |
---|---|---|---|
|
Pods is an array of tracked pods |
||
|
Conditions is an array of current Idler conditions |
LocalSecretReference is a reference to a secret within the enclosing namespace.
Field | Description | Default | Validation |
---|---|---|---|
|
Name of a secret within the enclosing |
MasterUserRecord keeps all information about user, user accounts and namespaces provisioned in CodeReady Toolchain
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
MasterUserRecordList contains a list of MasterUserRecord
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
MasterUserRecordSpec defines the desired state of MasterUserRecord
Field | Description | Default | Validation |
---|---|---|---|
|
If set to true then the corresponding user should not be able to login (but the underlying UserAccounts still exists) |
||
|
The list of user accounts in the member clusters which belong to this MasterUserRecord |
||
|
TierName is an optional property introduced to retain the name of the tier |
||
|
PropagatedClaims contains a selection of claim values from the SSO Identity Provider which are intended to |
MasterUserRecordStatus defines the observed state of MasterUserRecord
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current Master User Record conditions |
||
|
The status of user accounts in the member clusters which belong to this MasterUserRecord |
||
|
The timestamp when the user was provisioned |
Member contains the status of a member cluster
Field | Description | Default | Validation |
---|---|---|---|
|
APIEndpoint is the server API URL of the cluster |
||
|
The cluster identifier |
||
|
Number of Spaces created within the member cluster |
||
|
The array of member status objects |
MemberOperatorConfig keeps all configuration parameters needed in member operator
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
MemberOperatorConfigList contains a list of MemberOperatorConfig
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
MemberOperatorConfigSpec contains all configuration parameters of the member operator
Field | Description | Default | Validation |
---|---|---|---|
|
Keeps parameters concerned with authentication |
||
|
Keeps parameters concerned with the autoscaler |
||
|
Keeps parameters concerned with Che/CRW |
||
|
Keeps parameters concerned with the console |
||
|
Environment specifies the member-operator environment such as prod, stage, unit-tests, e2e-tests, dev, etc |
||
|
Defines the flag that determines whether User and Identity resources should be created for a UserAccount |
||
|
Keeps parameters concerned with member status |
||
|
Keeps parameters concerned with the toolchaincluster |
||
|
Keeps parameters concerned with the webhook |
MemberOperatorConfigStatus defines the observed state of MemberOperatorConfig
MemberOperatorStatus defines the observed state of a toolchain’s member operator
Field | Description | Default | Validation |
---|---|---|---|
|
The version of the operator |
||
|
The commit id from the member-operator repository used to build the operator |
||
|
The timestamp of the member operator build |
||
|
The status of the member operator’s deployment |
||
|
Conditions is an array of current member operator status conditions |
||
|
The status of the revision check for member operator’s deployment |
MemberStatus is used to track toolchain member status
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
Defines all parameters concerned with member status
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the period between refreshes of the member status |
||
|
Defines all secrets related to GitHub authentication/integration |
MemberStatusList contains a list of MemberStatus
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
MemberStatusSpec defines the desired state of MemberStatus
MemberStatusStatus defines the observed state of the toolchain member status
Field | Description | Default | Validation |
---|---|---|---|
|
Che is the status of Che/CRW, such as installed and whether the member configuration is correct |
||
|
MemberOperator is the status of a toolchain member operator |
||
|
HostConnection is the status of the connection with the host cluster |
||
|
Host is the status of the connection with the host cluster |
||
|
Conditions is an array of current toolchain status conditions |
||
|
Resource usage of the cluster |
||
|
Routes/URLs of the cluster, such as Console and Che Dashboard URLs |
Members contains all configuration for member operators
Field | Description | Default | Validation |
---|---|---|---|
|
Defines default configuration to be applied to all member clusters |
||
|
A map of cluster-specific member operator configurations indexed by member toolchaincluster name |
MetricsConfig contains all configuration parameters related to metrics gathering
Field | Description | Default | Validation |
---|---|---|---|
|
ForceSynchronization is a flag used to trigger synchronization of the metrics |
NSTemplateSet defines user environment via templates that are used for namespace provisioning
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
NSTemplateSetClusterResources defines the cluster-scoped resources associated with a given user
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
NSTemplateSetList contains a list of NSTemplateSet
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
NSTemplateSetNamespace the namespace definition in an NSTemplateSet resource
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
NSTemplateSetSpaceRole the role template and the users to whom the templates should be applied to
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
||
|
Usernames the usernames to which the template applies |
NSTemplateSetSpec defines the desired state of NSTemplateSet
Field | Description | Default | Validation |
---|---|---|---|
|
The name of the tier represented by this template set |
||
|
The namespace templates |
||
|
the cluster resources template (for cluster-wide quotas, etc.) |
||
|
the role template and the users to whom the templates should be applied to |
NSTemplateSetStatus defines the observed state of NSTemplateSet
Field | Description | Default | Validation |
---|---|---|---|
|
The namespace templates that were used last time to provision NSTemplateSet CR |
||
|
The cluster resources template (for cluster-wide quotas, etc.) that was used last time to provision the NSTemplateSet CR |
||
|
The SpaceRole template and the users to whom the template was applied for when the NSTemplateSet CR was provisioned for the last time |
||
|
FeatureToggles holds the list of feature toggles/flags that were enabled when the NSTemplateSet CR was provisioned for the last time |
||
|
ProvisionedNamespaces is a list of Namespaces that were provisioned by the NSTemplateSet. |
||
|
Conditions is an array of current NSTemplateSet conditions |
NSTemplateTier configures user environment via templates used for namespaces the user has access to
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
NSTemplateTierClusterResources defines the cluster-scoped resources associated with a given user
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
NSTemplateTierHistory a track record of an update
Field | Description | Default | Validation |
---|---|---|---|
|
StartTime is the time when the NSTemplateTier was updated |
||
|
Hash the hash matching on the templateRefs in the resource spec |
||
|
CompletionTime is the time when the last MasterUserRecord was updated |
||
|
Failures is the number of MasterUserRecords which failed to be updated |
||
|
FailedAccounts |
NSTemplateTierList contains a list of NSTemplateTier
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
NSTemplateTierNamespace the namespace definition in an NSTemplateTier resource
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
NSTemplateTierSpaceRole the space roles definition in an NSTemplateTier resource
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateRef The name of the TierTemplate resource which exists in the host cluster and which contains the template to use |
NSTemplateTierSpec defines the desired state of NSTemplateTier
Field | Description | Default | Validation |
---|---|---|---|
|
The namespace templates |
||
|
the cluster resources template (for cluster-wide quotas, etc.) |
||
|
the templates to set the spaces roles, indexed by role |
||
|
SpaceRequestConfig stores all the configuration related to the Space Request feature |
||
|
Parameters is an optional array of Parameters to be used to replace "global" variables defined in the TierTemplate CRs of the NSTemplateTier. |
NSTemplateTierStatus defines the observed state of NSTemplateTier
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current NSTemplateTier conditions |
||
|
Updates is an array of all NSTemplateTier updates |
||
|
Revisions is a map of TierTemplate CR names (as the keys) and TierTemplateRevision CR names (as the values) |
NamespaceAccess defines the name of the namespace and the secret reference to access it
Field | Description | Default | Validation |
---|---|---|---|
|
Name is the corresponding name of the provisioned namespace |
||
|
SecretRef is the name of the secret with a SA token that has admin-like |
Notification registers a notification in the CodeReady Toolchain
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
NotificationList contains a list of Notification
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
Defines all secrets related to notification configuration
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
||
|
The key for the host operator mailgun domain used for creating an instance of mailgun |
||
|
The key for the host operator mailgun api key used for creating an instance of mailgun |
||
|
The key for the host operator mailgun senders email |
||
|
The key for the reply-to email address that will be set in sent notifications |
NotificationSpec defines the desired state of Notification
Field | Description | Default | Validation |
---|---|---|---|
|
UserID is the user ID from RHD Identity Provider token (“sub” claim). The UserID is used by |
||
|
Recipient is used to specify the email address where the notification will be delivered. It must comply with |
||
|
Context is used to set a number of arbitrary values to be passed to the notification content text formatter, |
||
|
Template is the name of the NotificationTemplate resource that will be used to generate the notification |
||
|
Subject is used when no template value is specified, in cases where the complete notification subject is |
||
|
Content is used when no template value is specified, in cases where the complete notification content is |
NotificationStatus defines the observed state of Notification
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current Notification conditions |
NotificationsConfig contains all configuration parameters related to notifications
Field | Description | Default | Validation |
---|---|---|---|
|
NotificationDeliveryService is notification delivery service to use for notifications |
||
|
DurationBeforeNotificationDeletion is notification delivery service to use for notifications |
||
|
The administrator email address for system notifications |
||
|
TemplateSetName defines the set of notification templates. Different Sandbox instances can use different notification templates. For example Dev Sandbox and AppStudio instances use different templates. By default, the "sandbox" template set name is used. |
||
|
Defines all secrets related to notification configuration |
OpenShiftRouteTarget captures the look up information for retrieving an OpenShift Route object in the member cluster.
Field | Description | Default | Validation |
---|---|---|---|
|
|||
|
Parameter defines a name/value variable that is to be processed during TierTemplate creation.
Field | Description | Default | Validation |
---|---|---|---|
|
Name must be set and it can be referenced in the TierTemplate |
||
|
Value holds the Parameter data. |
Field | Description | Default | Validation |
---|---|---|---|
|
Sub contains the value of the 'sub' claim |
||
|
UserID contains the value of the 'user_id' claim |
||
|
AccountID contains the value of the 'account_id' claim |
||
|
OriginalSub is an optional property temporarily introduced for the purpose of migrating the users to |
||
|
Email contains the user’s email address |
ProxyPlugin represents the configuration to handle GET’s to k8s services in member clusters that first route through the registration service running in the sandbox host cluster. Two forms of URL are supported: https://<proxy-host>/plugins/<ProxyPlugin.ObjectMeta.Name>/v1alpha2/<namespace-name>/ https://<proxy-host>/plugins/<ProxyPlugin.ObjectMeta.Name>/workspaces/<workspace-name>/v1alpha2/<namespace-name>;
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
ProxyPluginList contains a list of ProxyPlugin
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
ProxyPluginSpec defines the desired state of ProxyPlugin
Field | Description | Default | Validation |
---|---|---|---|
|
OpenShiftRouteTargetEndpoint is an optional field that represents the look up information for an OpenShift Route |
ProxyPluginStatus defines the observed state of ProxyPlugin
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current Proxy Plugin conditions |
Configuration to enable the PublicViewer support
Field | Description | Default | Validation |
---|---|---|---|
|
Defines whether the PublicViewer support should be enabled or not |
false |
RegistrationServiceAnalyticsConfig contains the subset of registration service configuration parameters related to analytics
Field | Description | Default | Validation |
---|---|---|---|
|
DevSpaces contains the analytics configuration parameters for devspaces |
||
|
SegmentWriteKey specifies the segment write key for sandbox |
RegistrationServiceAuthConfig contains the subset of registration service configuration parameters related to authentication
Field | Description | Default | Validation |
---|---|---|---|
|
AuthClientLibraryURL specifies the auth library location |
||
|
AuthClientConfigContentType specifies the auth config content type |
||
|
AuthClientConfigRaw specifies the URL used to access the registration service |
||
|
AuthClientPublicKeysURL specifies the public keys URL |
||
|
SSOBaseURL specifies the SSO base URL such as https://sso.redhat.com |
||
|
SSORealm specifies the SSO realm name |
RegistrationServiceConfig contains all configuration parameters related to the registration service
Field | Description | Default | Validation |
---|---|---|---|
|
Keeps parameters necessary for the registration service analytics config |
||
Keeps parameters necessary for the registration service authentication config |
|||
|
Environment specifies the environment such as prod, stage, unit-tests, e2e-tests, dev, etc |
||
|
LogLevel specifies the logging level |
||
|
Namespace specifies the namespace in which the registration service and host operator is running |
||
|
RegistrationServiceURL is the URL used to a ccess the registration service |
||
|
Replicas specifies the number of replicas to use for the registration service deployment |
||
|
Keeps parameters necessary for the registration service verification config |
RegistrationServiceDeploymentStatus contains status of the registration service’s deployment
Field | Description | Default | Validation |
---|---|---|---|
|
The host operator deployment name |
||
|
Conditions is an array of current deployment status conditions for a host operator |
RegistrationServiceHealth contains health status of the registration service
Field | Description | Default | Validation |
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
Conditions is an array of status conditions for the health of the registration service |
RegistrationServiceResourcesStatus contains conditions for creation/deployment of registration service resources
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current registration service resource status conditions |
RegistrationServiceVerificationConfig contains the subset of registration service configuration parameters related to verification
Field | Description | Default | Validation |
---|---|---|---|
Defines all secrets related to the registration service verification configuration |
|||
|
VerificationEnabled specifies whether verification is enabled or not |
||
|
Captcha defines any configuration related to captcha verification |
||
|
VerificationDailyLimit specifies the number of times a user may initiate a phone verification request within a |
||
|
VerificationAttemptsAllowed specifies the number of times a user may attempt to correctly enter a verification code, |
||
|
VerificationMessageTemplate specifies the message template used to generate the content sent to users via SMS for |
||
|
VerificationExcludedEmailDomains specifies the list of email address domains for which phone verification |
||
|
VerificationCodeExpiresInMin specifies an int representing the number of minutes before a verification code should |
||
|
NotificationSender is used to specify which service should be used to send verification notifications. Allowed |
||
|
AWSRegion to use when sending notification SMS |
||
|
AWSSenderID the Alphanumeric Sender ID to use, e.g. "DevSandbox" |
||
|
AWSSMSType is the type of SMS message to send, either |
||
|
TwilioSenderConfigs is an array of TwilioSenderConfig objects |
Defines all secrets related to registration service verification configuration
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
||
|
TwilioAccountSID specifies the Twilio account identifier, used for sending phone verification messages |
||
|
TwilioAuthToken specifies the Twilio authentication token, used for sending phone verification messages |
||
|
TwilioFromNumber specifies the phone number or alphanumeric "Sender ID" for sending phone verification messages |
||
|
AWSAccessKeyId is the AWS Access Key used to authenticate in order to access AWS services |
||
|
AWSSecretAccessKey is the AWS credential used to authenticate in order to access AWS services |
||
|
RecaptchaServiceAccountFile is the GCP service account file contents encoded in base64, it is |
Contains information about the resource usage of the cluster
Field | Description | Default | Validation |
---|---|---|---|
|
How many percent of the available memory is used per node role (eg. worker, master) |
RevisionCheck contains status of revision check for the component, it highlights if the component is up-to-date and the deployed version matches the latest one in the GitHub repository.
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of status conditions for the health of the registration service |
Routes contains information about the public routes available to the user in the cluster
Field | Description | Default | Validation |
---|---|---|---|
|
ConsoleURL is the web console URL of the cluster |
||
|
CheDashboardURL is the Che Dashboard URL of the cluster if Che is installed |
||
|
Conditions is an array of current member operator status conditions |
SocialEvent registers a social event in Dev Sandbox
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
SocialEventList contains a list of SocialEvent
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
SocialEventSpec defines the parameters for a Social event, such as a training session or workshop. Users may register for the event by using the event’s unique activation code
Field | Description | Default | Validation |
---|---|---|---|
|
The timestamp from which users may register via this event’s activation code |
||
|
The timestamp after which users may no longer register via this event’s activation code |
||
|
An optional description that may be provided describing the purpose of the event |
||
|
The maximum number of attendees |
||
|
The tier to assign to users registering for the event. |
||
|
The tier to assign to spaces created for users who registered for the event. |
||
|
The cluster in which the user/space should be provisioned in |
||
|
If true, the user will also be required to complete standard phone verification |
SocialEventStatus defines the observed state of SocialEvent
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current SocialEventStatus conditions |
||
|
Space is the Schema for the spaces API
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
SpaceBinding is the Schema for the spacebindings API which defines relationship between Spaces and MasterUserRecords
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
SpaceBindingList contains a list of SpaceBinding
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
SpaceBindingRequest is the Schema for the SpaceBindingRequest API
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
SpaceBindingRequestList contains a list of SpaceBindingRequests
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
SpaceBindingRequestSpec defines the desired state of SpaceBindingRequest
Field | Description | Default | Validation |
---|---|---|---|
|
MasterUserRecord is a required property introduced to retain the name of the MUR |
||
|
SpaceRole is a required property which defines the role that will be granted to the MUR in the current Space by the SpaceBinding resource. |
SpaceBindingRequestStatus defines the observed state of SpaceBinding
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of SpaceBindingRequest conditions |
SpaceBindingSpec defines the desired state of SpaceBinding
Field | Description | Default | Validation |
---|---|---|---|
|
The MasterUserRecord is a name of the MasterUserRecord this SpaceBinding belongs to. |
||
|
The Space is a name of the Space this SpaceBinding is bound to. |
||
|
The SpaceRole is a name of the SpaceRole that is granted to the user for the Space. For example: admin, view, … |
SpaceBindingStatus defines the observed state of SpaceBinding
SpaceConfig allows to configure Space provisioning related functionality.
Field | Description | Default | Validation |
---|---|---|---|
|
SpaceRequestEnabled specifies whether the SpaceRequest controller should start or not. |
||
|
SpaceBindingRequestEnabled specifies whether the SpaceBindingRequest controller should start or not. |
SpaceList contains a list of Space
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
SpaceNamespace is a common type to define the information about a namespace within a Space Used in NSTemplateSet, Space and Workspace status
Field | Description | Default | Validation |
---|---|---|---|
|
Name the name of the namespace. |
||
|
Type the type of the namespace. eg. default |
SpaceProvisionerCapacityThresholds defines the capacity thresholds of the space provisioner
Field | Description | Default | Validation |
---|---|---|---|
|
MaxNumberOfSpaces is the maximum number of spaces that can be provisioned to the referenced cluster. 0 or undefined value means no limit. |
Minimum: 0 |
|
|
MaxMemoryUtilizationPercent is the maximum memory utilization of the cluster to permit provisioning 0 or undefined value means no limit. |
Maximum: 100 |
SpaceProvisionerConfig is the configuration of space provisioning in the member clusters.
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
|||
|
Refer to Kubernetes API documentation for fields of |
SpaceProvisionerConfigList contains a list of SpaceProvisionerConfig
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
Field | Description | Default | Validation |
---|---|---|---|
|
PlacementRoles is the list of roles, or flavors, that the provisioner possesses that influence |
||
|
ToolchainCluster is the name of the ToolchainCluster CR of the member cluster that this config is for. |
||
|
Enabled specifies whether the member cluster is enabled (and therefore can hold spaces) or not. |
false |
|
|
CapacityThresholds specifies the max capacities allowed in this provisioner |
Field | Description | Default | Validation |
---|---|---|---|
|
ConsumedCapacity reflects the runtime state of the cluster and the capacity it currently consumes. |
||
|
Conditions describes the state of the configuration (its validity). |
SpaceRequest is the Schema for the space request API
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
SpaceRequestConfig contains all the configuration related to the Space Request feature
Field | Description | Default | Validation |
---|---|---|---|
|
Provides the name of the Service Account whose token is to be copied |
SpaceRequestList contains a list of SpaceRequests
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
SpaceRequestSpec defines the desired state of Space
Field | Description | Default | Validation |
---|---|---|---|
|
TierName is a required property introduced to retain the name of the tier |
||
|
TargetClusterRoles one or more label keys that define a set of clusters |
||
|
DisableInheritance indicates whether or not SpaceBindings from the parent-spaces are Set to True to disable SpaceBinding inheritance from the parent-spaces. |
SpaceRequestStatus defines the observed state of Space
Field | Description | Default | Validation |
---|---|---|---|
|
TargetClusterURL The API URL of the cluster where Space is currently provisioned |
||
|
NamespaceAccess is the list with the provisioned namespace and secret to access it |
||
|
Conditions is an array of SpaceRequest conditions |
SpaceSpec defines the desired state of Space
Field | Description | Default | Validation |
---|---|---|---|
|
TargetCluster The cluster in which this Space is going to be provisioned |
||
|
TargetClusterRoles one or more label keys that define a set of clusters |
||
|
TierName is introduced to retain the name of the tier |
||
|
ParentSpace holds the name of the context (Space) from which this space was created (requested), Keeping this association brings two main benefits: |
||
|
DisableInheritance indicates whether or not SpaceBindings from the parent-spaces are Set to True to disable SpaceBinding inheritance from the parent-spaces. |
SpaceStatus defines the observed state of Space
Field | Description | Default | Validation |
---|---|---|---|
|
TargetCluster The cluster in which this Space is currently provisioned |
||
|
ProvisionedNamespaces is a list of Namespaces that were provisioned for the Space. |
||
|
Conditions is an array of current Space conditions |
TierTemplate is the Schema for the tiertemplates API
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
TierTemplateList contains a list of TierTemplate
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
TierTemplateRevision is the Schema for the tiertemplaterevisions API
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
TierTemplateRevisionList contains a list of TierTemplateRevisions
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
TierTemplateRevisionSpec defines the desired state of TierTemplateRevision
Field | Description | Default | Validation |
---|---|---|---|
|
TemplateObjects contains list of Unstructured Objects that can be parsed at runtime and will be applied as part of the tier provisioning. |
||
|
Parameters is an optional array of Parameters which will be used to replace the variables present in the TemplateObjects list when provisioning a Space. |
TierTemplateSpec defines the desired state of TierTemplate
Field | Description | Default | Validation | ||
---|---|---|---|---|---|
|
The tier of the template. For example: "basic", "advanced", or "team" |
||||
|
The type of the template. For example: "code", "dev", "stage" or "cluster" |
||||
|
The revision of the corresponding template |
||||
|
Template contains an OpenShift Template to be used to provision either a user’s namespace or cluster-wide resources |
||||
|
TemplateObjects contains list of Unstructured Objects that can be parsed at runtime and will be applied as part of the tier provisioning.
The template parameters values will be defined in the NSTemplateTier CRD. |
TiersConfig contains all configuration parameters related to tiers
Field | Description | Default | Validation |
---|---|---|---|
|
DefaultUserTier specifies the default tier to assign for new users |
||
|
DefaultSpaceTier specifies the default tier to assign for new spaces |
||
|
FeatureToggles specifies the list of feature toggles/flags |
||
|
DurationBeforeChangeTierRequestDeletion specifies the duration before a ChangeTierRequest resource is deleted |
||
|
TemplateUpdateRequestMaxPoolSize specifies the maximum number of concurrent TemplateUpdateRequests |
ToolchainCluster configures Toolchain to be aware of a Kubernetes cluster and encapsulates the details necessary to communicate with the cluster.
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
Defines all parameters concerned with the toolchaincluster resource
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the period in between health checks |
||
|
Defines the timeout for each health check |
ToolchainClusterList contains a list of ToolchainCluster
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
ToolchainClusterSpec defines the desired state of ToolchainCluster
Field | Description | Default | Validation |
---|---|---|---|
|
Name of the secret containing the kubeconfig required to connect |
ToolchainClusterStatus contains information about the current status of a cluster updated periodically by cluster controller.
Field | Description | Default | Validation |
---|---|---|---|
|
APIEndpoint is the API endpoint of the remote cluster. This can be a hostname, |
||
|
OperatorNamespace is the namespace in which the operator runs in the remote cluster |
||
|
Conditions is an array of current cluster conditions. |
ToolchainConfig keeps all configuration parameters needed for host and member operators
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
ToolchainConfigList contains a list of ToolchainConfig
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
ToolchainConfigSpec contains all configuration for host and member operators
Field | Description | Default | Validation |
---|---|---|---|
|
Contains all host operator configuration |
||
|
Contains all member operator configurations for all member clusters |
ToolchainConfigStatus defines the observed state of ToolchainConfig
Field | Description | Default | Validation |
---|---|---|---|
|
SyncErrors is a map of sync errors indexed by toolchaincluster name that indicates whether |
||
|
Conditions is an array of the current ToolchainConfig conditions |
ToolchainSecret defines a reference to a secret, this type should be included inline in any structs that contain secrets eg. NotificationSecret
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
ToolchainStatus is used to track overall toolchain status
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
ToolchainStatusConfig contains all configuration parameters related to the toolchain status component
Field | Description | Default | Validation |
---|---|---|---|
|
ToolchainStatusRefreshTime specifies how often the ToolchainStatus should load and refresh the current hosted-toolchain status |
||
|
Defines all secrets related to GitHub authentication/integration |
ToolchainStatusList contains a list of ToolchainStatus
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
ToolchainStatusSpec defines the desired state of ToolchainStatus
ToolchainStatusStatus defines the observed state of the toolchain, including host cluster and member cluster components
Field | Description | Default | Validation |
---|---|---|---|
|
HostOperator is the status of a toolchain host operator |
||
|
RegistrationService is the status of the registration service |
||
|
Members is an array of member status objects |
||
|
Metrics is a map that stores metrics to be exposed on Prometheus. |
||
|
HostRoutes/URLs of the host cluster, such as Proxy URL |
||
|
Conditions is an array of the current overall toolchain status conditions |
TwilioSenderConfig is used to associate a particular sender ID (a sender ID is a text value that appears instead of a phone number when receiving an SMS message), for example "RED HAT", with an array of country code values for which the Sender ID value will be set via the Twilio API when sending a verification code to a user in any of the country codes specified.
Since some countries are starting to block long form phone numbers (i.e. SMS messages from international phone numbers) the Sender ID may be an acceptable alternative to requiring the verification message to be sent from a local phone number.
Field | Description | Default | Validation |
---|---|---|---|
|
SenderID |
||
|
CountryCodes |
UserAccount keeps all information about user provisioned in the cluster
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
Field | Description | Default | Validation |
---|---|---|---|
|
The cluster in which the user exists |
UserAccountList contains a list of UserAccount
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
UserAccountSpec defines the desired state of UserAccount
Field | Description | Default | Validation |
---|---|---|---|
|
If set to true then the corresponding user should not be able to login |
||
|
PropagatedClaims contains a selection of claim values from the SSO Identity Provider which are intended to |
UserAccountStatus defines the observed state of UserAccount
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current User Account conditions |
Field | Description | Default | Validation |
---|---|---|---|
|
Cluster is the cluster in which the user exists |
||
|
Conditions is an array of current User Account conditions |
UserSignup registers a user in the CodeReady Toolchain
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
|||
|
UserSignupList contains a list of UserSignup
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
UserSignupSpec defines the desired state of UserSignup
Field | Description | Default | Validation |
---|---|---|---|
|
The cluster in which the user is provisioned in |
||
|
States contains a number of values that reflect the desired state of the UserSignup. |
||
|
IdentityClaims contains as-is claim values extracted from the user’s access token |
UserSignupStatus defines the observed state of UserSignup
Field | Description | Default | Validation |
---|---|---|---|
|
Conditions is an array of current UserSignup conditions |
||
|
CompliantUsername is used to store the transformed, DNS-1123 compliant username |
||
|
HomeSpace is the name of the Space that is created for the user |
||
|
ScheduledDeactivationTimestamp is the calculated timestamp after which the user’s account will be deactivated, typically |
UserTier contains user-specific configuration
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
UserTierList contains a list of UserTier
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
UserTierSpec defines the desired state of UserTier
Field | Description | Default | Validation |
---|---|---|---|
|
the period (in days) after which users within the tier will be deactivated |
UsersConfig contains all configuration parameters related to users
Field | Description | Default | Validation |
---|---|---|---|
|
MasterUserRecordUpdateFailureThreshold specifies the number of allowed failures before stopping attempts to update a MasterUserRecord |
||
|
ForbiddenUsernamePrefixes is a comma-separated string that defines the prefixes that a username may not have when signing up. |
||
|
ForbiddenUsernameSuffixes is a comma-separated string that defines the suffixes that a username may not have when signing up. If a |
Defines all parameters concerned with the Webhook
Field | Description | Default | Validation |
---|---|---|---|
|
Defines the flag that determines whether to deploy the Webhook. |
||
|
Defines all secrets related to webhook configuration |
WebhookSecret defines all secrets related to webhook configuration
Field | Description | Default | Validation |
---|---|---|---|
|
Reference is the name of the secret resource to look up |
||
|
The key in the secret values map that contains a comma-separated list of SSH keys |
Workspace is the Schema for the workspaces API but it is only for use by the Proxy. There will be no actual Workspace CRs in the host/member clusters. The CRD will be installed in member clusters for API discovery purposes only. The schema will be used by the proxy’s workspace lister API.
-
XPreserveUnknownFields: {}
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
WorkspaceList contains a list of Workspaces
Field | Description | Default | Validation |
---|---|---|---|
|
|
||
|
|
||
|
Refer to Kubernetes API documentation for fields of |
||
|
XPreserveUnknownFields: {} |
WorkspaceStatus defines the observed state of a Workspace
Field | Description | Default | Validation |
---|---|---|---|
|
The list of namespaces belonging to the Workspace. |
||
|
Owner the name of the UserSignup that owns the workspace. It’s the user who is being charged |
||
|
Role defines what kind of permissions the user has in the given workspace. |
||
|
Type defines the type of workspace. For example, "home" for a user’s given workspace upon first |
||
|
AvailableRoles contains the roles for this tier. For example, "admin|contributor|maintainer". |
||
|
Bindings enumerates the permissions that have been granted to users within the current workspace, and actions that can be applied to those permissions. |