-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify Eclipse Che configuration format (CheCluster API v2) #20758
Comments
I. Delete
Deprecated:
Single-host strategy will be the only one supported. We can remove fields related to multi-host strategy.
Duplication:
Legacy:
II. Move/Rename/Refactor
III. Registries
|
@tolusha great work!
I'd move into
The name is not clear. From a first shight it might be percepted as ingress name to use for Che server. What about
Not clear. I'd like to keep
if I set
If we delete multi host, so does it makes sense to keep both |
Do we have the same feature for Dex? |
Also, it's time to get rid of |
Looks not clear for me |
Hostname, secret and domain basically is part of of route(ingress). So, it is logically to move them into that structure.
Only works for Keycloak
The same true for plugin registry |
I'd also improve |
To which registries will the value of, for example,
Maybe name it |
I think this feature can be still usefull for plugin and devfile registry links and maybe for dashboard deployment. |
It is deprecated in favor of |
Related issue #20759 |
spec:
server:
deployment: <deployment>
route: <route>
ingress: <ingress>
logLevel: <string>
debug: <string>
clusterRoles: <[]string>
workspaceServiceAccountClusterRole: <[]string>
workspaceNamespaceName: <string>
gitSelfSignedSecretRef: <string>
airGapContainerRegistryHostname: <string>
airGapContainerRegistryOrganization: <string>
proxy: <proxy>
customCheProperties: <map[string]string>
workspacesDefaultPlugins: <[]workspacesDefaultPlugins>
storage:
pvc: <pvc>
pvcJobsImage: <string>
pvcStrategy: <string>
preCreateSubPaths: <string>
dashboard:
deployment: <deployment>
pluginRegistry:
disableInternalRegistry: <bool>
deployment: <deployment>
externalPluginRegistries: <externalPluginRegistries>
devfileRegistry:
disableInternalRegistry: <bool>
deployment: <deployment>
externalDevfileRegistries: <externalDevfileRegistries>
auth:
identityProviderURL: <string>
oAuthClientName: <string>
oAuthSecretRef: <string>
gateway: <gateway>
database:
externalDb: <bool>
deployment: <deployment>
pvc: <pvc>
postgresDb: <string>
postgresHostName: <string>
postgresPort: <string>
postgresCredentialsSecretRef: <string>
postgresVersion: <string>
metrics:
enable: <bool>
imagePuller:
enable: <bool>
spec: <...>
devWorkspace:
deployment: <deployment>
status:
cheClusterRunning: <string>
cheVersion: <string>
cheURL: <string>
devfileRegistryURL: <string>
pluginRegistryURL: <string>
message: <string>
reason: <string>
helpLink: <string>
devworkspaceStatus: <..>
----------------------------------
deployment:
container:
image: <string>
imagePullPolicy: <string>
resources:
limits:
cpu: <string>
memory: <string>
requests:
cpu: <string>
memory: <string>
securityContext:
runAsUser: <string>
fsGroup: <string>
gateway:
image: <string>
configSidecarImage: <string>
authenticationSidecarImage: <string>
authorizationSidecarImage: <string>
configMapLabels: <map[string]string>
route:
labels: <map[string]string>
annotations: <map[string]string>
domain: <string>
host: <string>
tlsSecretRef: <string>
ingress:
class: <string>
labels: <map[string]string>
annotations: <map[string]string>
domain: <string>
host: <string>
tlsSecretRef: <string>
proxy:
url: <string>
port: <string>
nonProxyHosts: <map[string]string>
credentialsSecretRef: <string>
pvc:
claimSize: <string>
storageClass: <string>
externalDevfileRegistries: <[]externalDevfileRegistry>
externalDevfileRegistry:
url: string
externalPluginRegistries: <[]externalPluginRegistry>
externalPluginRegistry:
url: string |
A few comments:
spec:
pluginRegistry:
externalPluginRegistries: <externalPluginRegistries> I would expect to be disabled by default. I should not need to set the extra field
|
|
Is the route/ingress used by the dashboard only or also used by other components (workspaces etc...)? cc @sparkoo |
@tolusha I have moved this issue to 7.48 |
Sounds good. I have to write an email about incoming changes. |
@tolusha can we close this issue now? |
The PR [1] is not merged yet. Here is a new CheCluster API v2 [2] |
postponed to 7.50; plan is to merge this as soon as 7.49.x branches are created |
Recent commits to main (7.50) have broken downstream devspaces 3.1 operator bundle builds. |
sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-3090 |
@Divine1 you should be able to upgrade. The comment above is about our CI that builds OpenShift Dev Spaces (a Red Hat product) from Eclipse Che sources. |
Is your task related to a problem? Please describe
After switching to DevWorkspace engine we might need to drop some fields.
Some fields are deprecated already, other are required to be renamed.
Describe the solution you'd like
Collect all possible changes in CheCluster CR
Additional context
This is how the new configuration sections looks like
Release Notes Text
CheCluster
custom resource definition has been updated to reflect that changes introduced with the switch to the DevWorkspaces. The result is a shorter and simpler configuration file to maintain for Eclipse Che administrators.The text was updated successfully, but these errors were encountered: