Commit Graph

135 Commits

Author SHA1 Message Date
Guilherme Caponetto 3c8c8e0c2a
feat(ws): call delete Workspace API from the frontend (#383)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-27 13:44:33 +00:00
Guilherme Caponetto c40a2e00e3
feat(ws): prepare frontend for Edit Workspace (#370)
* Add action to Edit workspace button

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Rename WorkspaceCreate* -> WorkspaceForm*

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Enable type-safe navigation

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Fix some a11y warnings in the console

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Prepare submit code for Workspace update

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Final adjustments

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Remove edit action while it is not fully supported

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-22 14:59:20 +00:00
Jenny 91b1987101
fix(ws): update component structure to fix create ws button rendering (#364)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests
2025-05-22 13:34:20 +00:00
yehudit1987 8737db249a
test(ws): Add workspaces tests (#188)
feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



feat(ws): Notebooks 2.0 // Frontend // Fetch workspaces



fix cypress tests

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
Co-authored-by: Yehudit Kerido <yehudit.kerido@nokia.com>
2025-05-22 13:29:20 +00:00
Liav Weiss 2c3e75ee02
feat(ws): Add Empty State to Workspace list #259 (#338)
* feat(ws): Add Empty State to Workspace list #259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Add Empty State to Workspace list kubeflow#259

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-05-21 12:13:37 +00:00
Guilherme Caponetto 0ee177f05d
feat(ws): prepare frontend calls to pause and start endpoints (#346)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-19 14:10:35 +00:00
Jenny 79fe52d09a
feat(ws): Apply theme dependent components (#313)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix linting errors

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

move button to toolbargroup to fix toolbar alignment

fix search input height

fix frontend tests

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix testing issues

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add export default to ThemeAwareSearchInput

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix linting issues

fix import

add ID

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

add whitespace

remove whitespace

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tests
2025-05-19 11:51:36 +00:00
Andy Stoneberg ea93acc140
fix(ws): add secrets field to backend API schema (#331)
related: #239

This commit brings partial support for secrets to the backend API.  It enables the `frontend` component to successfully create a Workspace through the "wizard flow".

**HOWEVER**, it is important to note this secrets attribute is not supported within the `controller` component yet - as #240 is not yet merged. To unblock the `frontend` - the logic contained in this commit simply adds the necessary scaffolding to accept the `secrets` attribute defined within `volumes`.  Once umarshalled, the backend essentially ignores this data.  Code to fully enable the end to end flow is included in this PR - but simply commented out with `TODO:` comments denoting what can be uncommented once #240 is merged into `notebooks-v2`.  A test is also presently disabled with `XIt` - and can also be enabled when required code present.

Changes were initially coded against the branch provided on #240 to verify full end-to-end behavior.  Once confirmed, commit was rebased onto `notebooks-v2`, relevant code commented out as described above, and behavior retested to ensure desired outcome.

In summary, with these changes:
- `backend` API accepts `volumes.secrets` in the _Create_ payload
- secrets data is **NOT USED** when programmatically constructing the Workspace CR
- Resultant workspace has no `secrets` data - irrespective of it if was provided in the payload or not.

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
2025-05-15 17:03:23 +00:00
Mohamed 45d778a972
feat(ws): complete api swagger documentation across workspaces, namespaces, and workspacekinds (#235)
* Add Swagger Config

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* add swag command

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated swagger output

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated general annotations

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated swagger docs version

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* updated swagger config

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* fix confilicts

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Add GetNamespaces Swagger Docs

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Add Workspaces Swagger Docs

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Add Workspaces Swagger Docs

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Add Workspacekinds Swagger Docs

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* fix: prevent Swagger from reading TODO comment by adding a tab

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* fix: resolve double api/v1 prefix in route paths

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

---------

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
2025-05-15 16:33:23 +00:00
Charles Thao c81f412fd5
feat(ws): Introduce drawer to workspace creation wizard (#310)
fix(ws): Change label titles in Workspace Creation



Add custom rules for drawer body to have full length

Signed-off-by: Charles Thao <cthao@redhat.com>
2025-05-15 14:50:23 +00:00
Charles Thao 273cdc92d2
fix(ws): filter chip label spacings (#326)
Signed-off-by: Charles Thao <cthao@redhat.com>
2025-05-14 20:07:22 +00:00
Guilherme Caponetto aa45741867
feat(ws): create new script to start frontend returning mocked data (#314)
* Enable start:dev with real data and start:dev:mock with mocked data

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Reorganize mock-related code

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Refactor FE types according to BE types and adapt the FE code accordingly

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Reorganize types

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Prepare code for create/update/patch

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Format files with prettier

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Clean up unnecessary eslint comments

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Minor adjustments after rebase

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Add error boundary

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Add EnsureAPIAvailability component

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Add instructions for running the UI with a mocked API

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

* Enable create workspace

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
2025-05-13 13:11:21 +00:00
Charles Thao bde6b4b87b
feat(ws): Notebooks v2 add secrets to workspace creation properties (#303)
* feat(ws): Add secrets to workspace creation properties form

Signed-off-by: Charles Thao <cthao@redhat.com>

* Fix typos

Signed-off-by: Charles Thao <cthao@redhat.com>

* Add descriptions to Secrets in Workspace creation wizard

Signed-off-by: Charles Thao <cthao@redhat.com>

---------

Signed-off-by: Charles Thao <cthao@redhat.com>
2025-05-12 11:22:38 +00:00
Charles Thao afc3bf70da
feat(ws): workspaces connect button sizing (#315)
Signed-off-by: Charles Thao <cthao@redhat.com>
2025-05-08 20:46:40 +00:00
henschwartz c3a6f54ae2
feat(ws): Add properties tile to new workspace creation (#262)
* feat(ws): Add properties tile to new workspace creation

Signed-off-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>

* feat(ws): Add properties tile to new workspace creation

Signed-off-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>

* feat(ws): Add properties tile to new workspace creation

Signed-off-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>

* feat(ws): Add properties tile to new workspace creation

Signed-off-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>

---------

Signed-off-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>
Co-authored-by: Hen Schwartz (EXT-Nokia) <hen.schwartz@nokia.com>
2025-05-08 13:30:40 +00:00
Jenny 1e8280519a
fix(ws): Fix UI bugs in PF Theme (#306)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

remove diff file

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix toolbar filter component structure

format document

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix formatting

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Revert default theme to MUI
2025-05-07 11:00:39 +00:00
Yossi Elias 744c3bb900
feat(ws): add frontend hooks to call create WS backend (#217)
* feat(ws): Notebooks 2.0 // Frontend // Call To Create Workspace

Signed-off-by: Yossi Elias (EXT-Nokia) <yossi.elias.ext@nokia.com>

* Create types for WorkspacePodTemplate and adjust camelCase leftovers

Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>

---------

Signed-off-by: Yossi Elias (EXT-Nokia) <yossi.elias.ext@nokia.com>
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
Co-authored-by: Yossi Elias (EXT-Nokia) <yossi.elias.ext@nokia.com>
Co-authored-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
Co-authored-by: senanz <33982987+senanz@users.noreply.github.com>
2025-05-06 15:13:38 +00:00
Paulo Rego 6123650b86
chore(ws): Upgrade vulnerable packages (#281)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-04-30 14:48:04 +00:00
Jenny ff713aad5b
refactor(ws): Enhance "Create Workspace" Title Spacing (#266)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-04-25 19:40:58 +00:00
Jenny e4415563b3
feat(ws): Apply box-shadow to cards in workspace creation wizard (#264)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-04-24 16:04:02 +00:00
Liav Weiss 4d565dbdc7
feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203 (#237)
* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup #203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspace Kind Viewer // Live mockup kubeflow#203

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-04-22 20:30:30 +00:00
Paulo Rego 2561e9be3f
chore(ws): update readme with frontend development requirements and commands (#257)
* chore(ws): update readme with frontend development requirements and commands

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* chore(ws): update readme with frontend development requirements and commands

Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Signed-off-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>

---------

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
Signed-off-by: Paulo Rego <832830+paulovmr@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-04-21 20:05:30 +00:00
Jenny e59def8f18
chore(ws): Upgrade to Patternfly 6.2.0 (#258)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-04-21 20:00:30 +00:00
aTheo 91484fee07
feat(ws): retry failed reconciles much less aggressively (#256)
* feat:Notebooks 2.0 // retry reconciliation failures less aggressively

Signed-off-by: Adriana Theodorakopoulou <atheodorak@outlook.com>

* mathew: fixes 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adriana Theodorakopoulou <atheodorak@outlook.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-04-15 23:12:23 +00:00
Paulo Rego c69ba08e22
chore(ws): add fork-ts-checker-webpack-plugin and fix typescript errors (#250)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-04-02 15:46:33 +00:00
Paulo Rego 1d28514e68
feat(ws): add workspace creation pod config step frontend (#244)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-04-02 14:18:33 +00:00
Paulo Rego d3135827cd
chore(ws): extract filter by labels component on workspace creation (#243)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-03-28 20:42:28 +00:00
Paulo Rego 657ac9f56f
feat(ws): add workspace creation image step frontend (#241)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-03-26 20:50:18 +00:00
Jenny f0638441d6
feat(ws): Add MUI Theming Support for Workspace Creation (#238)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

Apply PF variables

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

feat(ws): add MUI theming support for Cards

fix linting issues
2025-03-26 20:42:03 +00:00
Paulo Rego 8d3dc10554
feat(ws): add initial workspace creation pod config step frontend (#236)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-03-21 16:51:27 +00:00
Paulo Rego 2bc10ecc20
feat(ws): add initial workspace creation wizard frontend (#227)
* feat(ws): add initial workspace creation wizard frontend

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* feat(ws): add initial workspace creation wizard frontend

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* card view style fixes (#2)

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* fix(ws): fix scroll behavior with PageGroup

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

* feat(ws): add initial workspace creation wizard frontend

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* fix(ws): Apply flex-grow: 0 to page section

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

---------

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
Co-authored-by: Jenny <32821331+jenny-s51@users.noreply.github.com>
2025-03-19 20:44:42 +00:00
yehudit1987 19eca50561
feat(ws): add `pendingRestart` field to workspace model (#230)
Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
Co-authored-by: Yehudit Kerido <yehudit.kerido@nokia.com>
2025-03-13 16:04:57 +00:00
Paulo Rego 9e023c2aff
chore(ws): Upgrade vulnerable packages (#231)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-03-12 15:41:39 +00:00
yehudit1987 f216c3ee10
feat(ws): add http service paths to WS get on backend (#213)
* Add missing ports field to workspace model

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>

* Add missing ports field to workspace model

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>

* Add services field to workspace model

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>

* Add services field to workspace model

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>

* Add services field to workspace model

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>

* mathew updates: 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Yehudit Kerido <yehudit.kerido@nokia.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-03-07 02:19:04 +00:00
Mohamed a5bf4ee76c
feat(ws): add swagger api docs to backend (#206)
* Add Swagger Config

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Removed make watch

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* add swag command

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated swagger output

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Serve YAML API spec alongside Swagger UI

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated general annotations

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* Updated swagger docs version

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* updated swagger config

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* add parseDependency to swag init

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>

* update http-swagger and factor handler out

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* add swagger api path to readme

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* regen swagger for camelCase change

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* fix docstrings

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-03-03 02:28:36 +00:00
Eder Ignatowicz 365c44bef2
feat(ws): update JSON field names to camelCase in types and README. (#214)
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2025-02-24 06:40:46 +00:00
Liav Weiss b981275b81
feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Pod template tab #173 (#197)
* feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Pod template tab #173

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Pod template tab kubeflow#173

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Pod template tab kubeflow#173

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-02-20 12:58:43 +00:00
asaadbalum 6216ab054f
feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Activity tab #171 (#199)
Signed-off-by: Asaad Balum <asaad.balum@gmail.com>
Signed-off-by: asaadbalum <154635253+asaadbalum@users.noreply.github.com>
2025-02-17 20:28:39 +00:00
Mathew Wicks e5d4e41dfe
feat(ws): add WorkspaceCreate model to backend (#205)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-14 22:25:37 +00:00
Mathew Wicks 6f147902d7
feat(ws): add `podTemplatePod` to Workspace status, for backend logs (#210)
* feat(ws): add `podTemplatePod` to Workspace status, for backend logs

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* remove accidental diff

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-14 22:05:37 +00:00
asaadbalum f22890d307
feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace redirect status column #147 (#191)
Signed-off-by: Asaad Balum <asaad.balum@gmail.com>
2025-02-12 12:14:29 +00:00
Mathew Wicks bc6f311ac6
feat(ws): add auth to backend (#202)
* feat(ws): add auth to backend

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* add `DISABLE_AUTH` for interim testing (enabled by default)

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-11 20:21:28 +00:00
ElayAharoni 4cbc26eaf4
feat(ws): Implement Start restart and stop workspace actions (#162)
Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
Co-authored-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
2025-02-06 18:32:41 +00:00
Mathew Wicks f9da864e1d
feat(ws): introduce limits on HTTP body/header size (#195)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-05 20:54:38 +00:00
Mathew Wicks e1da4cad78
fix(ws): handle empty pod metadata in controller (#193)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-04 17:23:36 +00:00
Mathew Wicks 710cbd4753
feat(ws): refactor backend models and repositories (#192)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-04 17:20:37 +00:00
Yael Fishel 16f97f86d9
feat(ws): Add "Connect" column to workspace table and display popup with workspace endpoints. (#161)
* feat(ws): Add Connect column to workspace table and popup with workspace endpoints

Signed-off-by: Yael <fishel.yael@gmail.com>

* feat(ws): Split the Connect button, such that clicking it opens the default (main) endpoint

Signed-off-by: Yael <fishel.yael@gmail.com>

---------

Signed-off-by: Yael <fishel.yael@gmail.com>
2025-02-04 16:11:37 +00:00
Liav Weiss 055150bb2e
feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148 (#177)
* Merge notebooks-v2 into kind_logo_modification/#148 branch

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Workspace Kind column #148

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>

---------

Signed-off-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
Co-authored-by: Liav Weiss (EXT-Nokia) <liav.weiss.ext@nokia.com>
2025-01-29 18:05:51 +00:00
Paulo Rego 2c05c38aaa
chore(ws): Upgrade vulnerable packages (#187)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-01-29 18:03:52 +00:00
Mohamed Akrem Chabchoub d06762d4ad
fix(ws): update JSON payload for listing workspaces (#134)
* fix(ws): update JSON payload for listing workspaces

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): fix workspaceKind type to POD_TEMPLATE

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): ensure podMetadata labels/annotations are not null

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): fetch and use WorkspaceKind for determining home mount paths

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): fix Volumes.Home values and tests

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): fix PodConfig desired value

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* chore: remove lint warnings by cleaning up comments and formatting

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): refactor workspace model creation to include WorkspaceKind

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

* fix(ws): Move NewWorkspaceModelFromWorkspace from models to repositories

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>

---------

Signed-off-by: mohamedch7 <121046693+mohamedch7@users.noreply.github.com>
2025-01-24 21:43:21 +00:00
Jenny 6fe77160d0
feat(ws): Notebooks 2.0 // Frontend // Workspace details // Applies MUI Theming (#185)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

fix tab content padding

apply horizontal variant to description list, add dividers to match KF central UI

update spacer size

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

update font size for description list term
2025-01-24 18:46:21 +00:00
YosiElias 8ceb835f1e
feat(ws): implement delete workspace action with a confirmation popup (#178)
* feat(ws): Notebooks 2.0 // Frontend // Delete workspace

Signed-off-by: yelias <yossi.elias@nokia.com>

* Rename deleteModal.tsx

Signed-off-by: yelias <yossi.elias@nokia.com>

---------

Signed-off-by: yelias <yossi.elias@nokia.com>
Co-authored-by: yelias <yossi.elias@nokia.com>
2025-01-23 14:15:20 +00:00
Jenny 9479c7bebf
feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Add MUI Support (#183)
Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

apply env var to activate MUI theme

remove masthead toggle, fix padding

add bottom padding

Signed-off-by: Jenny <32821331+jenny-s51@users.noreply.github.com>

apply latest changes from MR and npm run test:fix
2025-01-22 14:24:50 +00:00
ElayAharoni 2d1298913a
feat(ws): add filter to workspaces table (#157)
* Filter workspaces table

Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>

* feat(ws) add filter to workspaces table

Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>

---------

Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
Co-authored-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
2025-01-20 13:26:02 +00:00
Paulo Rego 9a91f66972
feat(ws): Notebooks 2.0 // Frontend // Rename settings to debug (#184)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-01-17 20:20:20 +00:00
Paulo Rego d84621aac1
feat(ws): Notebooks 2.0 // Frontend // Workspaces details // Live mockup (#174)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2025-01-13 13:33:08 +00:00
ElayAharoni 249a45677d
feat(ws): Add popup to Workspace data vol column in workspaces table (#160)
Signed-off-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
Co-authored-by: Elay Aharoni (EXT-Nokia) <elay.aharoni.ext@nokia.com>
2025-01-13 13:03:08 +00:00
YosiElias 57fc8b17e5
feat(ws): add namespace dropdown to UI (#154)
* feat(ws): Notebooks 2.0 // Frontend // Namespace selector

Signed-off-by: yelias <yossi.elias@nokia.com>

* add MenuSearch

Signed-off-by: yelias <yossi.elias@nokia.com>

* feat(ws): Notebooks 2.0 // Frontend // Namespace selector

Signed-off-by: yelias <yossi.elias@nokia.com>

---------

Signed-off-by: yelias <yossi.elias@nokia.com>
Co-authored-by: yelias <yossi.elias@nokia.com>
2025-01-09 13:26:22 +00:00
senanz 0f363c04e7
feat(ws): Notebooks 2.0 // FrontEnd // Add CPU and RAM columns (#169)
* feat(ws): Notebooks 2.0 // FrontEnd // Add CPU and RAM columns

Signed-off-by: Senan Zedan (EXT-Nokia) <senan.zedan.ext@nokia.com>

* feat(ws): Notebooks 2.0 // FrontEnd // Add CPU and RAM columns

Signed-off-by: Senan Zedan (EXT-Nokia) <senan.zedan.ext@nokia.com>

---------

Signed-off-by: Senan Zedan (EXT-Nokia) <senan.zedan.ext@nokia.com>
Co-authored-by: Senan Zedan (EXT-Nokia) <senan.zedan.ext@nokia.com>
2025-01-08 14:42:21 +00:00
YosiElias 034a5303c6
feat(ws): Fetch API Infra (#167)
Signed-off-by: yelias <yossi.elias@nokia.com>
Co-authored-by: yelias <yossi.elias@nokia.com>
2025-01-06 13:13:20 +00:00
Adem Baccara d1a8c3ccb7
test(ws): enhance e2e test setup and cleanup (#39)
* test(ws): enhance e2e test setup and cleanup

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* code review fixes

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* remove env variable from e2e test GHA

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* lint fixes

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-12-05 21:14:00 +00:00
Paulo Rego 68a0060742
chore(ws): Setup eslint and jest configurations (#141)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
2024-12-03 15:21:59 +00:00
Paulo Rego 68d0b91c2f
feat(ws): Notebooks 2.0 // Frontend // Workspaces table // Live mockup (#140)
* Workspaces initial frontend

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>

* Fixing a CVE and cypress test

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

---------

Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Co-authored-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-12-03 13:47:58 +00:00
Mathew Wicks e920dd99de
chore: update go linting + update dependencies for controller (#137)
* chore: update controller kubebuilder

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* chore: add new controller linting

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* chore: update backend (similar to controller kubebuilder update)

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* chore: add new backend linting

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-12-02 16:56:58 +00:00
Eder Ignatowicz 2b747ac78d
feat(ws): Notebooks 2.0 // Backend // List namespaces (#124)
* feat(ws): Notebooks 2.0 // Backend // List namespaces #53

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* adding test coverage

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* ci: run controller and backend tests on pr

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-11-28 00:06:54 +00:00
Griffin Sullivan 9d02acfdd7
chore(ws): add cypress structure and initial tests for frontend (#73)
Signed-off-by: Griffin-Sullivan <gsulliva@redhat.com>
2024-11-08 19:59:13 +00:00
Eder Ignatowicz 4068e9e4e3
Proposing to add myself as owner of frontend directory (#72)
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-11-05 21:43:11 +00:00
Griffin Sullivan a3a7c84b95
chore(ws): restructure frontend and setup navigation (#67)
Signed-off-by: Griffin-Sullivan <gsulliva@redhat.com>
2024-10-23 18:52:30 +00:00
Eder Ignatowicz e46633be34
feat(ws): add CRUD operations to backend (#66)
* feat(ws): Notebooks 2.0 // Backend // List Workspaces API - II

In this PR:
- FUP for Notebooks 2.0 // Backend // List Workspaces API (#60) review
- Create /api/v1/workspaces to return all workspaces
- Review API endpoints as requested

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Notebooks 2.0 // Backend // CRUD Workspaces API

In this PR:
- Created handlers and repositories for create, get and delete workspace
- Improved the type of our json response

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* feat(ws): Notebooks 2.0 // Backend // List WorkspaceKinds

This PR builds on top of: https://github.com/kubeflow/notebooks/pull/61 and https://github.com/kubeflow/notebooks/pull/65

In this PR:
- Created handlers and repositories for get workspacekinds

This PR closes https://github.com/kubeflow/notebooks/issues/51

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* mathew: fix linting

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-10-10 19:37:10 +00:00
Eder Ignatowicz f852c1683e
Notebooks 2.0 // Backend // List Workspaces API (#60)
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-09-23 21:54:32 +00:00
Mathew Wicks b0af8ae418
feat(ws): use controller-runtime for backend (#43)
* feat(ws): use controller-runtime with backend

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* revert healthcheck to normal results

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-09-14 20:18:24 +00:00
Adem Baccara bc4e4454bc
feat(ws): add validation webhooks for Workspace and WorkspaceKind (#34)
* add validating webhook

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* add tests for workspacekind and workspace webhooks

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* re-add cert-manager

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* refactor  ValidateCreate and ValidateUpdate functions in wokrspaceKind webhook

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* add e2e test for webhooks

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew refactor 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew refactor 2

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew refactor 3

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-08-29 00:14:03 +00:00
Adem Baccara 38b8955d68
feat(ws): set `status.pauseTime` on workspace (#26)
* feat(ws): populate the status.pauseTime on the workspace

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* test(ws): add unit test

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew commit 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-08-06 01:42:39 +00:00
Adem Baccara 12610f06e9
test(ws): add e2e tests (#30)
* test(ws): add e2e tests

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew updates 2

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-08-06 00:40:39 +00:00
Adem Baccara 50fda656e8
test(ws): add safety prompt for E2E test execution (#28)
* test(ws): add safety prompt for E2E test execution

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates 1

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-08-05 16:42:39 +00:00
Eder Ignatowicz 574ed81e65
chore(ws): remove unused libraries `react-axe` and `react-docgen-typescript-loader` (#24)
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-07-18 16:39:57 +00:00
Adem Baccara 0cacff77ee
feat(ws): initial Workspace and WorkspaceKind controller loops (#22)
* feat(ws): implement a reconciliation loop for the workspace

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* remove comments

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* add correct rbac permission for controller

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* implemented collision handling using ownerReferences

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* update the status field during workspace reconciliation

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* add watcher to workspace kind

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* handle the case that multiple ports are specified for an image

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* generate correctly the StatefulSet spec

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* set status.state of the Workspace

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* add rbac permission for configmap

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* update dockerfile

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew updates 2

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew updates 3

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* fix todos

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates 4

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* handle extraEnv value replacement

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>

* mathew updates 5

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* mathew updates 6

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-07-15 21:21:55 +00:00
Mathew Wicks ca78327ea5
fix(ws): use correct `nodeSelector` type and add CRD validation tests (#21)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-07-05 19:38:48 +00:00
Mathew Wicks a8de501944
feat(ws): add `containerSecurityContext` to WorkspaceKind (#20)
* feat(ws): add `containerSecurityContext` to WorkspaceKind + cleanup descriptions

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* feat(ws): make all optional fields go pointers

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* feat(ws): remove `readOnlyRootFilesystem=true` from tests

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-06-30 17:01:43 +00:00
Eder Ignatowicz b0367e8b3d
feat(ws): initial commit for frontend (#19)
* feat: client ui frontend scaffolding

In this PR:
- UI frontend scaffolding
- Github Action for frontend and backend

Most of the content of this PR is extract from https://github.com/patternfly/patternfly-react-seed/tree/v6. Thank you so much patternfly team for the seed!

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Changes requested by code review

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Fixing icons

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

---------

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-06-28 00:48:41 +00:00
Mathew Wicks 565a740adf
feat(ws): update `Workspace` and `WorkspaceKind` definitions (#16)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-06-21 19:00:07 +00:00
Jiri Daněk 0ff4d0371a
feat(ws): add `Workspace` and `WorkspaceKind` CRD scaffolds (#6)
* feat(ws): add `Workspace` and `WorkspaceKind` CRD scaffolds

Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup, regenerate WOrkspaceKind to be cluster scope

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixes to crd spec

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* updates to CRD spec

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

---------

Signed-off-by: Jiri Daněk <jdanek@redhat.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-06-19 01:00:59 +00:00
Eder Ignatowicz a42f0a3e13
feat(ws): add kubernetes client to backend (#15)
* feat (ws): Backend Kubernetes client

- Creation of Kubernetes Client;
- Wrapping the client on application;

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Update workspaces/backend/cmd/main.go

Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

* Adding .docker ignore

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

---------

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-06-08 19:25:05 +00:00
Eder Ignatowicz 9a945fb4bb
feat(ws): initial commit for backend (#7)
* feat(ws): initial commit for backend

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Fixing docker build

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

* Fixing git ignore

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>

---------

Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-05-31 00:45:52 +00:00
Jiri Daněk 20a3de3bd7
feat(ws): initial commit for controller (#5)
* feat: Generate kubebuilder project

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup add unittests gha

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup disable permissions for all of the available scopes

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup add triggers for release branches

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup remove duplicated gitignores

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup remove workflow dispatch

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* Apply suggestions from code review

Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup rename the project to workspace-controller

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

* fixup update kubebuilder to 3.15

https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v3.15.0

Signed-off-by: Jiri Daněk <jdanek@redhat.com>

---------

Signed-off-by: Jiri Daněk <jdanek@redhat.com>
2024-05-23 18:36:26 +00:00