Skip to content

fix(modules): quote YAML colons, remove empty lifecycle stop, and quote sample configs - #40

Merged
ValgulNecron merged 1 commit into
mainfrom
fix/module-template-schema-and-yaml-syntax
Sep 12, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
fix/module-template-schema-and-yaml-syntax

Conversation

@ValgulNecron

Copy link
Copy Markdown
Collaborator

Summary of Fixes

Discovered and validated through live testing on a real 3-node k3s cluster:

  1. ark-survival-evolved/module.yaml:

    • Quote displayName: "ARK: Survival Evolved" and summary to fix PyYAML parsing failure caused by unquoted colons.
    • Restores module indexing in ModuleSource catalogs.
  2. beammp/template.yaml & mount-and-blade-2-bannerlord/template.yaml:

    • Remove capabilities.lifecycle.stop: [] which violates the CRD OpenAPI schema constraint (minItems: 1).
    • Fixes Invalid value: 0: spec.capabilities.lifecycle.stop in body should have at least 1 items admission rejection on GameTemplate creation.
  3. left-4-dead-2/template.yaml:

    • Set advertise: false on duplicate port 27015 UDP (query) to avoid Kubernetes Service creation conflict with game port.
  4. Sample Manifests (modules/*/samples/gameserver*.yaml):

    • Quote numeric and boolean values in spec.config across 11 sample manifests (e.g. SRCDS_MAXPLAYERS: "24", MAX_PLAYERS: "64") to strictly satisfy CRD schema additionalProperties: { type: string }.

@ValgulNecron
ValgulNecron merged commit 14a9ad7 into main Sep 12, 2026
1 check passed
@ValgulNecron
ValgulNecron deleted the fix/module-template-schema-and-yaml-syntax branch September 13, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant