fix(m3uproxy): update playlist file references from .m3u8 to .json and correct descriptions in variables

This commit is contained in:
2025-05-18 12:20:49 +02:00
parent 15b07ea85d
commit 4e07e062ce
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -52,7 +52,7 @@ resource "kubernetes_config_map" "m3uproxy_playlist" {
} }
data = { data = {
"playlist.m3u8" = local.m3uproxy_playlist "playlist.json" = local.m3uproxy_playlist
} }
} }
@@ -142,8 +142,8 @@ resource "kubernetes_deployment" "m3uproxy" {
} }
volume_mount { volume_mount {
name = "m3uproxy-playlist" name = "m3uproxy-playlist"
mount_path = "/app/conf/playlist.m3u8" mount_path = "/app/conf/playlist.json"
sub_path = "playlist.m3u8" sub_path = "playlist.json"
read_only = true read_only = true
} }
volume_mount { volume_mount {
@@ -171,8 +171,8 @@ resource "kubernetes_deployment" "m3uproxy" {
config_map { config_map {
name = kubernetes_config_map.m3uproxy_playlist.metadata[0].name name = kubernetes_config_map.m3uproxy_playlist.metadata[0].name
items { items {
key = "playlist.m3u8" key = "playlist.json"
path = "playlist.m3u8" path = "playlist.json"
} }
} }
} }
+2 -2
View File
@@ -4,12 +4,12 @@ variable "persistent_folder" {
} }
variable "fqdn" { variable "fqdn" {
description = "The fully qualified domain name for the Rustdesk server" description = "The fully qualified domain name for the M3UProxy server"
type = string type = string
} }
variable "tag" { variable "tag" {
description = "The version of Rustdesk to install" description = "The version of M3UProxy to install"
type = string type = string
default = "latest" default = "latest"
} }