From 4e07e062cec566da6bfbb5b34a53bbcffc750916 Mon Sep 17 00:00:00 2001 From: Alexandre Pires Date: Sun, 18 May 2025 12:20:49 +0200 Subject: [PATCH] fix(m3uproxy): update playlist file references from .m3u8 to .json and correct descriptions in variables --- terraform/modules/apps/m3uproxy/main.tf | 10 +++++----- terraform/modules/apps/m3uproxy/variables.tf | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/terraform/modules/apps/m3uproxy/main.tf b/terraform/modules/apps/m3uproxy/main.tf index 3a83787..0dab911 100644 --- a/terraform/modules/apps/m3uproxy/main.tf +++ b/terraform/modules/apps/m3uproxy/main.tf @@ -52,7 +52,7 @@ resource "kubernetes_config_map" "m3uproxy_playlist" { } data = { - "playlist.m3u8" = local.m3uproxy_playlist + "playlist.json" = local.m3uproxy_playlist } } @@ -142,8 +142,8 @@ resource "kubernetes_deployment" "m3uproxy" { } volume_mount { name = "m3uproxy-playlist" - mount_path = "/app/conf/playlist.m3u8" - sub_path = "playlist.m3u8" + mount_path = "/app/conf/playlist.json" + sub_path = "playlist.json" read_only = true } volume_mount { @@ -171,8 +171,8 @@ resource "kubernetes_deployment" "m3uproxy" { config_map { name = kubernetes_config_map.m3uproxy_playlist.metadata[0].name items { - key = "playlist.m3u8" - path = "playlist.m3u8" + key = "playlist.json" + path = "playlist.json" } } } diff --git a/terraform/modules/apps/m3uproxy/variables.tf b/terraform/modules/apps/m3uproxy/variables.tf index da860c8..8ef822e 100644 --- a/terraform/modules/apps/m3uproxy/variables.tf +++ b/terraform/modules/apps/m3uproxy/variables.tf @@ -4,12 +4,12 @@ variable "persistent_folder" { } variable "fqdn" { - description = "The fully qualified domain name for the Rustdesk server" + description = "The fully qualified domain name for the M3UProxy server" type = string } variable "tag" { - description = "The version of Rustdesk to install" + description = "The version of M3UProxy to install" type = string default = "latest" }