[PR #51] [MERGED] [lint] create labels.go for centralized label management #52

Closed
opened 2026-10-15 12:47:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/fenrir/pull/51
Author: @axolotlite
Created: 7/24/2026
Status: ✅ Merged
Merged: 7/27/2026
Merged by: @axolotlite

Base: staging ← Head: chore/labels-and-enums


📝 Commits (1)

  • f580b90 [lint] create labels.go for centralized label management

📊 Changes

4 files changed (+70 additions, -40 deletions)

View changed files

➕ pkg/api/v1alpha1/labels.go (+41 -0)
📝 pkg/controllers/session.go (+20 -31)
📝 pkg/moonlight/pairing.go (+1 -1)
📝 pkg/moonlight/rest.go (+8 -8)

📄 Description

This is just a quick refactor, it moves labels into v1alpha1 to allow quick import.
This addresses the following from the DRA todo list
This PR Task list / TODO:

  • Update the structs (can I auto generate the struct and rest api based on the api spec?)
    • Ensure the Session Struct is based on wolf__api__StreamSessionStartRequest
    • Ensure the Video Struct is based on wolf__core__events__VideoSession
    • Ensure the Audio Struct is based on wolf__core__events__AudioSession
    • Create the Lobby Struct based on wolf's wolf__api__CreateLobbyRequest
    • Update the Application CRD to implement a statefulset instead of a Deployment
    • Remove the existing wolf configs from the profile CRD
      • update the examples? probably just wait
    • Group together the labels into enums based on each relevant component and it's created resource for use in the created resources
    • Prepare for Development
      • Create the Daemonset Pod Manifests
        • wolf-dra container
        • wolf container
      • Create Local Development Environment
        • Create the kind-cluster-config.yaml (with feature gates)
        • Add the development steps to the Makefile
        • Rewrite the skaffold.yaml to accommodate the new DRA implementation and use kind directly instead of registry pushes
        • Install a storage provisioner with RWX
        • Create a README explaining how to setup the dev environment

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/fenrir/pull/51 **Author:** [@axolotlite](https://github.com/axolotlite) **Created:** 7/24/2026 **Status:** ✅ Merged **Merged:** 7/27/2026 **Merged by:** [@axolotlite](https://github.com/axolotlite) **Base:** `staging` ← **Head:** `chore/labels-and-enums` --- ### 📝 Commits (1) - [`f580b90`](https://github.com/games-on-whales/fenrir/commit/f580b901cd7406b0cb613f1f2dec2ccba4999bf9) [lint] create labels.go for centralized label management ### 📊 Changes **4 files changed** (+70 additions, -40 deletions) <details> <summary>View changed files</summary> ➕ `pkg/api/v1alpha1/labels.go` (+41 -0) 📝 `pkg/controllers/session.go` (+20 -31) 📝 `pkg/moonlight/pairing.go` (+1 -1) 📝 `pkg/moonlight/rest.go` (+8 -8) </details> ### 📄 Description This is just a quick refactor, it moves labels into v1alpha1 to allow quick import. This addresses the following from the DRA todo list **This PR Task list / TODO:** - [ ] Update the structs (can I auto generate the struct and rest api based on the api spec?) - [ ] Ensure the Session Struct is based on wolf__api__StreamSessionStartRequest - [ ] Ensure the Video Struct is based on wolf__core__events__VideoSession - [ ] Ensure the Audio Struct is based on wolf__core__events__AudioSession - [ ] Create the Lobby Struct based on wolf's wolf__api__CreateLobbyRequest - [ ] Update the Application CRD to implement a statefulset instead of a Deployment - [ ] Remove the existing wolf configs from the profile CRD - [ ] update the examples? probably just wait - [x] Group together the labels into enums based on each relevant component and it's created resource for use in the created resources - [ ] Prepare for Development - [ ] Create the Daemonset Pod Manifests - wolf-dra container - wolf container - [ ] Create Local Development Environment - [ ] Create the `kind-cluster-config.yaml` (with feature gates) - [ ] Add the development steps to the Makefile - [ ] Rewrite the `skaffold.yaml` to accommodate the new DRA implementation and use kind directly instead of registry pushes - [ ] Install a storage provisioner with RWX - [ ] Create a README explaining how to setup the dev environment --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:47:00 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/fenrir#52
No description provided.