Skip to content

Commit

Permalink
feat: Rework workspace commands to be able to work with user namespac…
Browse files Browse the repository at this point in the history
…e permissions only (#849)

* Rework workspace commands to be able to work with user namespace permissions only

Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
  • Loading branch information
mmorhun committed Sep 16, 2020
1 parent 0752bf3 commit ad6ddd0
Show file tree
Hide file tree
Showing 18 changed files with 779 additions and 713 deletions.
33 changes: 24 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--name=name
Workspace name: overrides the workspace name to use instead of the one defined in the devfile.
Expand Down Expand Up @@ -605,6 +608,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--delete-namespace
Indicates that a Kubernetes namespace where workspace was created will be deleted as well
Expand Down Expand Up @@ -646,6 +652,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--kube-context=kube-context
Kubeconfig context to inject
Expand Down Expand Up @@ -677,6 +686,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--skip-kubernetes-health-check
Skip Kubernetes health check
```
Expand All @@ -692,18 +704,15 @@ USAGE
$ chectl workspace:logs
OPTIONS
-d, --directory=directory Directory to store logs into
-h, --help show CLI help
-d, --directory=directory Directory to store logs into
-h, --help show CLI help
-n, --namespace=namespace (required) The namespace where workspace is located. Can be found in
workspace configuration 'attributes.infrastructureNamespace' field.
-n, --namespace=namespace (required) The namespace where workspace is located. Can be found in workspace
configuration 'attributes.infrastructureNamespace' field.
-w, --workspace=workspace (required) Target workspace id. Can be found in workspace configuration 'id'
field.
-w, --workspace=workspace (required) Target workspace id. Can be found in workspace configuration 'id' field.
--listr-renderer=default|silent|verbose [default: default] Listr renderer
--skip-kubernetes-health-check Skip Kubernetes health check
--skip-kubernetes-health-check Skip Kubernetes health check
```

_See code: [src/commands/workspace/logs.ts](https://github.com/che-incubator/chectl/blob/v0.0.2/src/commands/workspace/logs.ts)_
Expand Down Expand Up @@ -736,6 +745,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--skip-kubernetes-health-check
Skip Kubernetes health check
```
Expand Down Expand Up @@ -767,6 +779,9 @@ OPTIONS
https://www.eclipse.org/che/docs/che-7/administration-guide/authenticating-users/#obtaining-the-token-from-openshift
-token-through-keycloak_authenticating-to-the-che-server.
--che-api-endpoint=che-api-endpoint
Eclipse Che server API endpoint
--skip-kubernetes-health-check
Skip Kubernetes health check
```
Expand Down
Loading

0 comments on commit ad6ddd0

Please sign in to comment.