kubeflow / notebooks

Kubeflow Notebooks lets you run web-based development environments on your Kubernetes cluster by running them inside Pods.
Apache License 2.0
18 stars 20 forks source link

test(ws): add e2e tests #30

Closed Adembc closed 3 months ago

Adembc commented 4 months ago

This PR makes the following changes to the workspace controller:

Adembc commented 4 months ago

Now the unit tests are failing because I removed the validation that prevented the WorkspaceKind fields .Spec.PodTemplate.Options.ImageConfig and .Spec.PodTemplate.Options.PodConfig from being mutable. These validations were causing errors in the workspace reconciliation loop. As discussed with @thesuperzapper, these validations should be removed and replaced by validation webhooks. Maybe we should merge the validation webhook PR first to ensure the unit tests pass.

thesuperzapper commented 3 months ago

@Adembc I have done the following changes in https://github.com/kubeflow/notebooks/pull/30/commits/61c85fa0c88149706f7a255f69ad6b4ed6723552

thesuperzapper commented 3 months ago

@Adembc I have done the following changes in https://github.com/kubeflow/notebooks/pull/30/commits/16886cededb63db5f815f554fc85de69089597e5

thesuperzapper commented 3 months ago

@Adembc thanks for your work on this! We can do follow ups in future PRs.

/lgtm /approve

google-oss-prow[bot] commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thesuperzapper

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubeflow/notebooks/blob/notebooks-v2/OWNERS)~~ [thesuperzapper] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment