-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document naming conventions & Naming alignment
Contributed on behalf of STMicroelectronics
- Loading branch information
1 parent
8215bf1
commit d87764e
Showing
37 changed files
with
129 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,9 +100,9 @@ helm repo update | |
```bash | ||
helm install theia-cloud-base theia-cloud-remote/theia-cloud-base --set [email protected] | ||
|
||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theiacloud --create-namespace | ||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theia-cloud --create-namespace | ||
|
||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud | ||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theia-cloud | ||
``` | ||
|
||
### Install the current next version | ||
|
@@ -112,21 +112,21 @@ Simply add the `--devel` flag: | |
```bash | ||
helm install theia-cloud-base theia-cloud-remote/theia-cloud-base --set [email protected] --devel | ||
|
||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theiacloud --create-namespace --devel | ||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theia-cloud --create-namespace --devel | ||
|
||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud --devel | ||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theia-cloud --devel | ||
``` | ||
|
||
### Optional: switch to the newly created namespace | ||
|
||
```bash | ||
kubectl config set-context --current --namespace=theiacloud | ||
kubectl config set-context --current --namespace=theia-cloud | ||
``` | ||
|
||
### Uninstall | ||
|
||
```bash | ||
helm uninstall theia-cloud -n theiacloud | ||
helm uninstall theia-cloud -n theia-cloud | ||
``` | ||
|
||
### Getting started with | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file renamed
BIN
+382 KB
...scode/theiacloud-monitor-0.12.0-next.vsix → ...code/theia-cloud-monitor-0.12.0-next.vsix
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,9 +76,9 @@ helm repo update | |
```bash | ||
helm install theia-cloud-base theia-cloud-remote/theia-cloud-base --set [email protected] | ||
|
||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theiacloud --create-namespace | ||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theia-cloud --create-namespace | ||
|
||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud | ||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theia-cloud | ||
``` | ||
|
||
### Install the current next version | ||
|
@@ -88,31 +88,31 @@ Simply add the `--devel` flag: | |
```bash | ||
helm install theia-cloud-base theia-cloud-remote/theia-cloud-base --set [email protected] --devel | ||
|
||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theiacloud --create-namespace --devel | ||
helm install theia-cloud-crds theia-cloud-remote/theia-cloud-crds --namespace theia-cloud --create-namespace --devel | ||
|
||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theiacloud --devel | ||
helm install theia-cloud theia-cloud-remote/theia-cloud --namespace theia-cloud --devel | ||
``` | ||
|
||
### Optional: switch to the newly created namespace | ||
|
||
```bash | ||
kubectl config set-context --current --namespace=theiacloud | ||
kubectl config set-context --current --namespace=theia-cloud | ||
``` | ||
|
||
### Trouble shooting | ||
|
||
Recreate tls secret for sessions: | ||
|
||
`kubectl delete secret ws-cert-secret -n theiacloud` | ||
`kubectl delete secret ws-cert-secret -n theia-cloud` | ||
|
||
## Check | ||
|
||
```bash | ||
helm get manifest theia-cloud -n theiacloud | ||
helm get manifest theia-cloud -n theia-cloud | ||
``` | ||
|
||
## Uninstall | ||
|
||
```bash | ||
helm uninstall theia-cloud -n theiacloud | ||
helm uninstall theia-cloud -n theia-cloud | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Naming Conventions | ||
|
||
The project is called "Theia Cloud" (with a space) and is a subproject of Eclipse Theia. | ||
|
||
As different languages and use cases use other conventions for naming, we try to follow these conventions as close as possible. | ||
|
||
Please see below guidelines for know usages of specific style conventions. | ||
|
||
## theia.cloud | ||
|
||
In general, use `theia.cloud` in hierachies and for identifiers, e.g. | ||
|
||
- Java package/jar names, e.g. `org.eclipse.theia.cloud` | ||
- Java (system) properties , e.g. `-Dtheia.cloud.app.id=asdfghjkl` | ||
- Group Names / Metadata Names in Kubernetes Custom Resource Definitions, e.g. `theia.cloud`, `theia.cloud/v1beta9`, `sessions.theia.cloud` | ||
- Theia Command identifiers, e.g. `theia.cloud.monitor.activity.report` | ||
|
||
## TheiaCloud / theiaCloud | ||
|
||
Use Pascal Case / Camel Case in Java/Typescript class/method/property names, e.g. `DefaultTheiaCloudOperatorLauncher` or `window.theiaCloudConfig`. | ||
|
||
Other uses are places where you usually may use any cases, but want to avoid spaces (for technical reasons), e.g. the KeyCloak Realm `TheiaCloud`. | ||
|
||
## theia-cloud | ||
|
||
## THEIA_CLOUD | ||
|
||
## Theia Cloud | ||
|
||
## theia-cloud.io | ||
|
||
To follow conventions for labels in Kubernetes, we use our regular domain as a prefix for custom labels, e.g. `theia-cloud.io/workspace.name` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.