mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
fix(multiplayer): wire control-plane runtime secrets
This commit is contained in:
@@ -22,6 +22,8 @@ class KubernetesPolicyTest(unittest.TestCase):
|
||||
"readOnlyRootFilesystem: true", "drop: [ALL]", "resources:",
|
||||
"image: ghcr.io/cosmic-clash/control-plane@sha256:",
|
||||
"--rate-limit=120", "--rate-limit-window=1m", "--rate-limit-max-keys=10000",
|
||||
"name: COSMIC_CLASH_POSTGRES_DSN", "key: dsn",
|
||||
"name: COSMIC_CLASH_WORKLOAD_SECRET", "key: secret",
|
||||
):
|
||||
self.assertIn(required, deployment)
|
||||
self.assertNotRegex(deployment, r"(?im)^\s*(password|token|private.?key):\s*[^\n]+$")
|
||||
|
||||
Reference in New Issue
Block a user