Skip to content
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

Start a (default, configurable) Pod if the DevWorkspace.spec.template is empty #853

Closed
Tracked by #21438
l0rd opened this issue Jun 2, 2022 · 0 comments · Fixed by #867
Closed
Tracked by #21438

Start a (default, configurable) Pod if the DevWorkspace.spec.template is empty #853

l0rd opened this issue Jun 2, 2022 · 0 comments · Fixed by #867
Assignees
Milestone

Comments

@l0rd
Copy link
Collaborator

l0rd commented Jun 2, 2022

Description

The simplest DevWorkspace is:

kind: DevWorkspace
apiVersion: workspace.devfile.io/v1alpha2
metadata:
  name: devspaceworks

If I kubectl apply -f - the above DevWorkspace I would like to have a pre-defined workspace to be started.
A pre-defined workspace may be specified in the DevWorkspaceConfig:

kind: DevWorkspaceOperatorConfig
apiVersion: controller.devfile.io/v1alpha1
metadata:
  name: devworkspace-operator-config
config:
  workspace:
+    defaultTemplate:
+      attributes:
+         controller.devfile.io/storage-type: ephemeral
+      components:
+        - name: frontend
+           container:
+             image: quay.io/devfile/universal-developer-image:ubi8-latest
+             memoryLimit: 1G
+             memoryRequest: 256Mi
+             cpuLimit: 500m
+             cpuRequest: 30m
@amisevsk amisevsk assigned amisevsk and AObuchow and unassigned amisevsk Jun 2, 2022
@ibuziuk ibuziuk mentioned this issue Jun 3, 2022
64 tasks
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 10, 2022
Fix devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 10, 2022
Part of devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 15, 2022
Fix devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 15, 2022
Part of devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 16, 2022
Fix devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 16, 2022
Part of devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 17, 2022
Fix devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit to AObuchow/devworkspace-operator that referenced this issue Jun 17, 2022
Part of devfile#853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit that referenced this issue Jun 23, 2022
Fix #853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
AObuchow added a commit that referenced this issue Jun 23, 2022
Part of #853

Signed-off-by: Andrew Obuchowicz <aobuchow@redhat.com>
@ibuziuk ibuziuk mentioned this issue Jun 27, 2022
68 tasks
@amisevsk amisevsk added this to the v0.15.x milestone Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants