mirror of
https://github.com/games-on-whales/fenrir.git
synced 2026-10-15 12:51:53 +00:00
[PR #53] [MERGED] Wolf-Agent DRA: Update App CRD & Session controller to use statefulsets instead of deployments #53
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/fenrir#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/fenrir/pull/53
Author: @axolotlite
Created: 7/26/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @axolotlite
Base:
staging← Head:chore/restructure-structs📝 Commits (9)
79fc045[lobby] init lobby crd and wolfapi clientafa9868[wolfapi] remove app since it's not needed3c7f7cb[session] remove commented out gatewayapi and configmap codef3d9485[session] move from deployment to statefulsetf1bda63[session: wolf-container] comment out HOST_APPS_STATE_FOLDER51a7e1a[lint] apply linter recommendations826306f[lint] apply auto fixes24450bdMerge branch 'staging' into chore/restructure-structs619ad61[dev] apply statefulset to the direwolf operator📊 Changes
44 files changed (+2952 additions, -1261 deletions)
View changed files
📝
cmd/operator/main.go(+2 -2)📝
crds/direwolf.games-on-whales.github.io_apps.yaml(+460 -210)➕
crds/direwolf.games-on-whales.github.io_lobbies.yaml(+197 -0)📝
crds/direwolf.games-on-whales.github.io_profiles.yaml(+17 -0)📝
crds/direwolf.games-on-whales.github.io_sessions.yaml(+2 -2)📝
examples/firefox.yaml(+12 -2)📝
examples/generic_devices/firefox.yaml(+11 -3)📝
examples/nvidia_devices/firefox.yaml(+12 -2)📝
examples/volume_mounts/firefox.yaml(+12 -2)📝
hack/deploy/02-direwolf-operator.yaml(+1 -1)📝
hack/update-codegen.sh(+1 -1)📝
pkg/api/v1alpha1/app.go(+9 -8)➕
pkg/api/v1alpha1/lobby.go(+85 -0)📝
pkg/api/v1alpha1/session.go(+2 -2)📝
pkg/api/v1alpha1/zz_generated.deepcopy.go(+144 -9)📝
pkg/api/v1alpha1/zz_generated.defaults.go(+114 -116)📝
pkg/api/v1alpha1/zz_generated.register.go(+2 -0)📝
pkg/controllers/agent.go(+8 -0)📝
pkg/controllers/session.go(+115 -475)📝
pkg/controllers/session_test.go(+10 -15)...and 24 more files
📄 Description
This PR aims to update the crds, mainly the App.
It also adds the lobby crd in preparation for the operator changes.
The main change however, is moving to statefulsets.
Sections handled from the task list:
This PR Task list / TODO:
The session tests are failing, however, the entire session operator is going to get rehauled and split into session + lobby controllers once the kubelet plugin is done.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.