Major changes

This commit is contained in:
2025-06-05 23:27:50 +02:00
parent a2dc223d1f
commit 3ea65f060f
107 changed files with 714 additions and 76 deletions
+5
View File
@@ -102,6 +102,7 @@ resource "kubernetes_deployment" "m3uproxy" {
container_port = 8080
name = "http"
}
readiness_probe {
http_get {
path = "/health"
@@ -111,6 +112,7 @@ resource "kubernetes_deployment" "m3uproxy" {
period_seconds = 10
failure_threshold = 10
}
env {
name = "USERNAME"
value_from {
@@ -120,6 +122,7 @@ resource "kubernetes_deployment" "m3uproxy" {
}
}
}
env {
name = "PASSWORD"
value_from {
@@ -129,11 +132,13 @@ resource "kubernetes_deployment" "m3uproxy" {
}
}
}
security_context {
allow_privilege_escalation = false
run_as_user = 1000
run_as_group = 1000
}
volume_mount {
name = "m3uproxy-config"
mount_path = "/app/conf/m3uproxy.json"