fix(m3uproxy): update playlist file references from .m3u8 to .json and correct descriptions in variables
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user