Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/backups-recovery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ Backups combine a cron schedule with a restic repository, credentials, and expli
]}
/>

### Manage schedules from a server (next release)

This section ships in the release after v0.4.3. Open a server's **Backups** tab to edit or delete its backup schedules. The **Managed by server settings** action opens the settings that control the server's automatic schedule. Destination managers can open the selected server's cluster and namespace from **Settings → Scheduled backups**, and the **Back up now** dialog links there when that server has no configured destinations.

### Backup strategies

Gameplane supports two backup strategies:
Expand Down
22 changes: 21 additions & 1 deletion src/content/docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,27 @@ import DocsCallout from "../../components/docs/DocsCallout.astro";
import ChangeEntry from "../../components/docs/ChangeEntry.astro";

<div class="flex flex-col">
<ChangeEntry version="v0.4.3" date="2026-11-21" highlight>
<ChangeEntry version="Unreleased" date="next release" highlight>
These changes ship in the release after v0.4.3.
**SSO group role rules:** an SSO provider maps IdP groups to any role, including custom roles, with an ordered rule list where the first match wins. Roles set by hand on the Users page are kept at sign-in.
**Personal MCP tokens:** users create read-only MCP tokens in the API, valid for 7, 30, 90 or 365 days and revocable at any time. The API adds read routes for pods, Kubernetes events and pod logs.
**MCP tokens page:** Settings → MCP tokens creates, copies and revokes personal MCP tokens, shown once with a ready-to-paste client configuration.
**MCP events warning:** when `list_events` returns more than 100 events across clusters, the unavailable-cluster warning still appears after the truncation notice.
**Upgrade: MCP server namespace scope:** the break-glass MCP server no longer reads every namespace. It reads only the release and managed game namespaces, so use personal MCP tokens for per-user reads across clusters after upgrading.
**CurseForge and FTB modpacks:** the Modpacks tab installs, pins and removes Modrinth, CurseForge and FTB modpacks at a chosen version, so a restart never upgrades a pack by surprise.
**Share link wake access:** owners can turn wake access on or off for an existing share link in Settings → Share links, and the change applies to everyone with the URL.
**Backup schedules from a server:** the Backups tab edits or deletes a schedule, and **Managed by server settings** opens the settings that control the automatic schedule.
**Template hostnames:** `operator.templateHostnames` sets a default hostname for NodePort and LoadBalancer servers using a template. A hostname set on a server takes precedence.
**Backup destinations from settings:** destination managers open the selected server's cluster and namespace from Settings → Scheduled backups, and Back up now links there when the server has no destinations.
**Module updates:** minecraft-java 2.13.0 adds CurseForge and FTB modpack installs (needs Gameplane 0.5.0), a new Minecraft Proxy module is added, and Valheim shows a player count read from the Steam query. Installed modules keep their version until you upgrade them.
**SFTP access:** set `sftp.enabled=true` to browse, upload and download server files with FileZilla, WinSCP or `sftp`, under the Files tab permissions and audit log. Uploads are capped by `files.maxUploadSize` (default `20Gi`).
**SFTP with SSO accounts:** SSO accounts, named by their email address, can log in with their panel username. An unregistered SSH key falls back to the password prompt.
**Server name rule:** a server name that starts with a digit or is longer than 57 characters is refused at create or clone time with a clear message. An existing server with such a name shows Failed with the reason.
**Upgrade: chart CRD hooks:** the chart no longer bundles the `gameplane-crds` subchart, and hooks install the CRDs and ModuleSources instead. Air-gapped clusters must mirror `crds.autoApply.image`, and `helm uninstall` no longer removes the default and upload ModuleSources.
**Per-server security overrides:** modules set the run-as user and group, filesystem group and volume ownership check, and owners with `servers:security` can override them. Overrides apply on the next restart, and root overrides are off by default.
</ChangeEntry>

<ChangeEntry version="v0.4.3" date="2026-11-21">
**Publishes 0.4.2:** the 0.4.2 release stopped at a HIGH image scan finding, so 0.4.3 ships every 0.4.2 change plus a libxml2 update in the dashboard image (CVE-2026-86144).
</ChangeEntry>

Expand Down
2 changes: 2 additions & 0 deletions src/content/docs/create-a-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Installed modules define supported games, versions, loaders, ports, and optional
]}
/>

Server names must start with a letter and be at most 57 characters (next release). Gameplane refuses a name that starts with a digit or is longer than 57 characters, so the server is not created. A server that already has such a name shows Failed with the reason; delete it and create it again with a valid name.

## Configure compute and storage

Size the pod and persistent volume for the workload, then add environment, secrets, and placement rules.
Expand Down
6 changes: 5 additions & 1 deletion src/content/docs/extension-services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ A strictly **read-only** [Model Context Protocol](https://modelcontextprotocol.i
- Access via `kubectl exec -i deploy/gameplane-mcp-server -n gameplane-system -- /mcp-server serve` — each exec spawns an independent, isolated MCP session.
- Works against local kubeconfig: `KUBECONFIG=~/.kube/config /mcp-server serve`.

**RBAC blast radius:** The ClusterRole is cluster-wide (not namespaced), so it can read Pods, Events, and logs in *every* namespace, including `kube-system` and other workloads. Pod logs can surface application secrets. This is an accepted tradeoff (opt-in, write-free), but install it with that in mind.
**RBAC blast radius (v0.4.3 and earlier; the next release narrows it, see below):** The ClusterRole is cluster-wide (not namespaced), so it can read Pods, Events, and logs in *every* namespace, including `kube-system` and other workloads. Pod logs can surface application secrets. This is an accepted tradeoff (opt-in, write-free), but install it with that in mind.

**Personal MCP tokens (next release).** Each signed-in user can create a personal MCP token under **Settings → MCP tokens** (also in the user menu). A token lasts 7, 30, 90 or 365 days, can be revoked at any time, and never grants more than its owner's permissions. Admins with `users:read` can see a user's tokens in Users & RBAC, and those with `users:manage` can revoke them.

**Breaking (next release): the break-glass server no longer reads every namespace.** The chart removes the old cluster-wide read ClusterRole on upgrade. Pods, Events and pod logs are then readable only in the release namespace and the managed game namespaces, through namespaced Roles. A ClusterRole remains only for GameTemplate, Module and ModuleSource. After upgrading, use a personal MCP token for per-user reads across clusters. See [security](https://github.com/GameplanePanel/Gameplane/blob/master/docs/security.md#mcp-server-optional) for the threat model.

## Libraries

Expand Down
4 changes: 4 additions & 0 deletions src/content/docs/file-manager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ Apply one concern, restart only when required, and validate Events and game logs
]}
/>

## SFTP (next release)

SFTP file access ships in the release after v0.4.3. SFTP uses the same permissions and limits as the Files tab. Uploads from either place stream to the game's storage and are capped by `files.maxUploadSize` (default `20Gi`). `operator.filesIdleTimeout` (default `10m`) sets how long a file-only pod stays up for a stopped server. See [SFTP access](../sftp-access/) for setup and troubleshooting.

---

## Next guide
Expand Down
13 changes: 13 additions & 0 deletions src/content/docs/helm-values-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Control operator behavior, logging, high availability, and module storage.
| `operator.backupResources` | object | `null` | Complete ResourceRequirements for backup, restore and forget/prune workers. Default requests are 100m CPU and 128Mi memory; forget/prune keeps 50m and 128Mi with a 512Mi memory limit. |
| `operator.nodeSelector`, `operator.tolerations`, `operator.affinity`, `operator.topologySpreadConstraints`, `operator.priorityClassName` | mixed | `{}`, `[]`, `{}`, `[]`, `""` | Placement for the operator Deployment. The same keys exist for `api`, `web`, `gateway`, `mcpServer`, `api.telemetry.receiver` and `crds.autoApply`. Unsatisfied hard selectors, taints or topology constraints leave pods Pending. |
| `operator.pdb.enabled` | boolean | `false` | Creates a PodDisruptionBudget for the operator. With `pdb.minAvailable` or `pdb.maxUnavailable` unset, the budget defaults to `maxUnavailable: 1`. The same `pdb` block exists on `api`, `web`, `gateway` and `mcpServer`. |
| `operator.filesIdleTimeout` | duration | `10m` | *(next release)* How long a stopped server's file-only pod stays up after its last file operation before the operator removes it. Must be a positive duration. |
| `operator.templateHostnames` | object | `{}` | *(next release)* Default player-facing DNS names by GameTemplate name for NodePort and LoadBalancer servers, for example `minecraft-java: mc.example.net`. A server's `networking.hostname` overrides its default. |

## Networking and ingress

Expand Down Expand Up @@ -166,6 +168,17 @@ Configure persistent volumes and local module sources.
| `operator.localModules.existingClaim` | string | *(empty)* | PersistentVolumeClaim for local module bundles (homebrew/homelab pattern: drop module directories on disk and they appear in the catalog). Provide exactly one of `existingClaim` or `hostPath`. |
| `operator.localModules.hostPath` | string | *(empty)* | Host path for local module bundles (node-local storage). Use only on single-node clusters; requires `nodeSelector` to pin the operator to that node. |

## File transfer and SFTP (next release)

Configure the upload limit for the Files tab and the optional SFTP endpoint. This section ships in the release after v0.4.3.

| Key | Type | Default | Description |
|---|---|---|---|
| `files.maxUploadSize` | quantity | `20Gi` | *(next release)* Largest single file one upload can send, through SFTP and the dashboard. Accepts Kubernetes quantities (`Ki`, `Mi`, `Gi`, `Ti`, `K`, `M`, `G`, `T`) or a plain byte count. |
| `sftp.enabled` | boolean | `false` | *(next release)* Run the SFTP endpoint for game server files. Off by default. Every login and file operation is authorised by the API as the signed-in user. |
| `sftp.serviceType` | enum | `ClusterIP` | *(next release)* Service type for the SFTP endpoint: `ClusterIP`, `NodePort` or `LoadBalancer`. Use `LoadBalancer` or `NodePort` to accept SFTP from outside the cluster. |
| `sftp.publicAddress` | string | `""` | *(next release)* Address shown to users in the SFTP profile, as a host or `host:port`. Empty means unknown. |

## Cluster operations

Enable credential-minting and node/kubeconfig management.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ helm upgrade --install gameplane oci://ghcr.io/gameplanepanel/charts/gameplane \

The chart is OCI-packaged — no `helm repo add` is needed. The `appVersion` field pins matching component images, so no image overrides are required for a released version.

Each release also publishes the CRDs alone as the OCI chart `oci://ghcr.io/gameplanepanel/charts/gameplane-crds`, at the same version. Argo CD installs can point their CRD Application at this chart; see [One owner for each resource](https://github.com/GameplanePanel/Gameplane/blob/master/docs/argocd.md#one-owner-for-each-resource). Existing installs need no change.
Each release also publishes the CRDs alone as the OCI chart `oci://ghcr.io/gameplanepanel/charts/gameplane-crds`, at the same version. Argo CD installs can point their CRD Application at this chart; see [One owner for each resource](https://github.com/GameplanePanel/Gameplane/blob/master/docs/argocd.md#one-owner-for-each-resource). Existing installs need no change. From the next release (after v0.4.3), the `gameplane` chart no longer bundles the CRD subchart: the `crds.autoApply` hook installs the CRDs on every install and upgrade, and with `crds.autoApply.enabled=false` you install the CRDs first from the `gameplane-crds` chart ([Helm CRD caveat](https://github.com/GameplanePanel/Gameplane/blob/master/docs/install.md#helm-crd-caveat)).

The flowchart below shows which resources a default chart install renders, and which ones are opt-in.

Expand Down
14 changes: 14 additions & 0 deletions src/content/docs/mods-modpacks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,17 @@ Back up first, confirm the manifest, allow the required restart, and validate ev
"Backup → save manifest → restart → validate logs and joins",
]}
/>

## CurseForge and FTB modpacks (next release)

This section ships in the release after v0.4.3.

The Modpacks tab installs, pins and removes modpacks from Modrinth, CurseForge and Feed The Beast (FTB). Each pack is pinned to the version you choose, so a restart never upgrades it by surprise. The active pack is stored in `GameServer.spec.modpack`, and the operator applies it. You can take a backup first. Removing a pack empties the mods folder and keeps the world.

Some CurseForge files are blocked from automatic download. The Modpacks tab lists them with links. Download each file, then upload it to the `downloads/` path on the server.

Servers that already run an unpinned Modrinth pack are pinned to their installed version at the next quiet moment, when no players are online. This takes one restart.

An admin can turn on **Share the CurseForge key with game servers** under Settings → Mod registries. This lets servers on images without a built-in key (the `java8` tags, Minecraft 1.16.5 and older) use CurseForge packs. Read the [residual risk](../security/) before turning it on. A change to this setting reaches a running server when it has no players online, or when the server is stopped or asleep, because the change restarts its pod. Module authors can find the new template fields and the `ftb` provider in [Modpacks](../module-authoring/).

API change: `POST /servers/{name}/modpack` now returns `202 Accepted` with the modpack view (phase `Pending`) instead of `200 {"ok":true}`. It returns `409` while an earlier change is still in progress.
4 changes: 4 additions & 0 deletions src/content/docs/network-automation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ The operator does not create the DNS record. With external-dns watching Services

This applies to every LoadBalancer server with a hostname, including servers created before the upgrade that introduced it. Before upgrading, check that each such hostname resolves to its server, or clear it where it is not the name players use.

#### Default hostname per template (next release)

Set `operator.templateHostnames` in the Helm values to give every NodePort and LoadBalancer server on a game template a default player hostname. A hostname set on a server takes precedence, and clearing that field restores the template default.

### Choosing a load-balancer implementation (v0.4.2)

A cluster can run more than one load-balancer implementation, each handling Services of its own class. Set `spec.networking.loadBalancerClass` on a LoadBalancer server to pick one; it becomes the Service's `spec.loadBalancerClass`. When the field is unset, the operator does not manage the class. A new Service has none, so the cluster's default implementation handles it, and an existing Service keeps any class something else gave it.
Expand Down
3 changes: 3 additions & 0 deletions src/content/docs/permission-catalog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ These permissions govern individual game servers and their backups. They are nam
| `servers:read` | server / cluster | View state | Ownership-filtered |
| `servers:write` | server / cluster | Mutate config | Excludes console |
| `servers:console` | server | Interactive I/O | Audited session |
| `servers:security` | server / cluster | Set or change a server's security overrides (run-as user and group, filesystem group, volume ownership check) (next release) | Admin role by default; root values need the cluster's root-override setting |
| `backups:restore` | server | Execute restore | High-impact action |

**servers:read** — View server state, logs, active player lists, and files. Ownership-filtered means the caller sees only servers they own or collaborate on, or all servers if they have a cluster-wide `servers:read` permission binding.
Expand All @@ -29,6 +30,8 @@ These permissions govern individual game servers and their backups. They are nam

**servers:console** — Access the live console (RCON or PTY, depending on the game). All console sessions are audited and recorded with actor, timestamp, and transcript.

**servers:security** — Set or change a server's security overrides: the run-as user and group, the filesystem group, and the volume ownership check (next release). Overrides apply on the next restart. Root values also need the cluster's root-override setting turned on.

**backups:restore** — Execute a restore operation from an existing backup. This is marked a high-impact action because a restore overwrites game data.

## Backup schedules & destinations
Expand Down
14 changes: 14 additions & 0 deletions src/content/docs/server-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,20 @@ spec:

Tune `initialDelaySeconds` and `periodSeconds` to match your game's boot time and responsiveness. Too aggressive, and the game restarts constantly; too lenient, and hung servers appear online to players.

## Security overrides (next release)

This section ships in the release after v0.4.3.

A module sets default security settings for its game in the `security` block of the GameTemplate: the run-as user and group, the filesystem group, and the volume ownership check. A server owner with the `servers:security` permission can override these for one server, in the Advanced section of the create-server wizard and in the server's Settings. The permission is part of the admin role by default. See the [Permission Catalog](../permission-catalog/).

- **Restarts:** Overrides apply on the next restart. Saving an override does not restart the server.
- **Root values:** A root value is a user or group of 0, or the image's default user. Root values are off by default. An administrator allows them per cluster under Clusters, then the cluster, then Configuration, then Security.
- **Ownership check:** The volume ownership check defaults to "only when wrong". This starts servers with large volumes faster, but files deeper in the volume keep their current owner. The other setting, `EveryStart`, re-applies the group to every file on each start. It is always correct but slower on large volumes.

<DocsCallout icon="layers" title="Run helm upgrade first.">
Run `helm upgrade` so that each cluster gets its security settings.
</DocsCallout>

## Placement and safety

Use Kubernetes scheduling rules and per-server RBAC to control server placement, and establish safety boundaries before enabling transfer, wipe, or deletion.
Expand Down
Loading