From f96078529c6b9a09aaabc2fb1b11baca750d2795 Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Wed, 18 Sep 2024 23:22:49 -0400 Subject: [PATCH] fix --- splunk_license_hacking.tf.j2 | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/splunk_license_hacking.tf.j2 b/splunk_license_hacking.tf.j2 index 3755ed9..51e2f51 100644 --- a/splunk_license_hacking.tf.j2 +++ b/splunk_license_hacking.tf.j2 @@ -38,7 +38,7 @@ resource "coder_app" "splunk-lm" { {% block kubernetes_pod_main_env %} env { name = "SPLUNK_LICENSE_MASTER_URL" - value = "https://localhost:8092" + value = "https://localhost:8091" } {{ super() }} {% endblock %} @@ -47,9 +47,20 @@ resource "coder_app" "splunk-lm" { container { name = "mitmproxy" image = "mitmproxy/mitmproxy" - command = ["mitmdump", "--mode", "reverse:https://localhost:8091@8092"] + command = ["mitmdump", "--mode", "reverse:https://localhost:8090@8091"] image_pull_policy = "{{ image_pull_policy }}" + security_context { + run_as_user = "1000" + } + + volume_mount { + mount_path = "/home/mitmproxy" + name = "home" + sub_path = "mitmproxy" + read_only = false + } + resources { requests = { "cpu" = "250m" @@ -75,9 +86,17 @@ resource "coder_app" "splunk-lm" { name = "SPLUNK_HTTP_PORT" value = "8001" } + env { + name = "SPLUNK_KVSTORE_PORT" + value = "8192" + } + env { + name = "SPLUNK_APPSERVER_PORT" + value = "8066" + } env { name = "SPLUNK_SVC_PORT" - value = "8091" + value = "8090" } env { name = "SPLUNK_ROLE"