From 4c744e539c09713fe1efe253353a02653f81968a Mon Sep 17 00:00:00 2001 From: Aleksandr Bogomiakov Date: Mon, 12 Oct 2026 11:46:25 +0100 Subject: [PATCH] Normalize migrated manifest whitespace --- k8s-ng/apps/minecraft/configmaps.yaml | 18 ++++++++---------- k8s-ng/apps/minecraft/deployments.yaml | 1 - k8s-ng/apps/minecraft/services.yaml | 1 - 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/k8s-ng/apps/minecraft/configmaps.yaml b/k8s-ng/apps/minecraft/configmaps.yaml index 5707f6d..ff5ada5 100644 --- a/k8s-ng/apps/minecraft/configmaps.yaml +++ b/k8s-ng/apps/minecraft/configmaps.yaml @@ -18,10 +18,10 @@ data: http { include /etc/nginx/mime.types; default_type application/octet-stream; - + server { listen 80; - + # Custom 502 error page with auto-refresh error_page 502 /502.html; location = /502.html { @@ -29,7 +29,7 @@ data: return 200 'Server Loading

Server is loading probably...

Please wait a moment and try refreshing the page.

'; add_header Content-Type text/html; } - + # Main location - proxy to Minecraft Dynmap location / { # Proxy configuration for Dynmap server @@ -38,20 +38,20 @@ data: proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; - + # Inject user authentication meta tag into HTML head sub_filter '' ''; - + # Replace default Dynmap title with custom server name sub_filter 'Minecraft Dynamic Map' "Hexor's MC server"; - + # Inject custom script before closing body tag sub_filter "" ''; - + # Apply sub_filter replacements globally (not just once) sub_filter_once off; } - + # Serve inject.js and .ps1 scripts inline (no forced download) location = /clients/inject.js { alias /mc/clients/inject.js; @@ -559,5 +559,3 @@ data: Write-Log "Launcher executable not found!" "ERROR" } } - - diff --git a/k8s-ng/apps/minecraft/deployments.yaml b/k8s-ng/apps/minecraft/deployments.yaml index d682b44..ef33f40 100644 --- a/k8s-ng/apps/minecraft/deployments.yaml +++ b/k8s-ng/apps/minecraft/deployments.yaml @@ -135,4 +135,3 @@ spec: - protocol: TCP port: 19565 targetPort: 19565 - diff --git a/k8s-ng/apps/minecraft/services.yaml b/k8s-ng/apps/minecraft/services.yaml index 990370b..cac2f3e 100644 --- a/k8s-ng/apps/minecraft/services.yaml +++ b/k8s-ng/apps/minecraft/services.yaml @@ -37,4 +37,3 @@ spec: targetPort: 25565 selector: app: minecraft -