From 1c6fecf46e20b42387ce809eb75f2854336f183b Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Tue, 8 Oct 2024 21:15:38 -0400 Subject: [PATCH] get rid of UF --- splunk_license_hacking.tf.j2 | 41 ------------------------------------ 1 file changed, 41 deletions(-) diff --git a/splunk_license_hacking.tf.j2 b/splunk_license_hacking.tf.j2 index 615ae58..c78d402 100644 --- a/splunk_license_hacking.tf.j2 +++ b/splunk_license_hacking.tf.j2 @@ -134,45 +134,4 @@ resource "coder_app" "splunk-lm" { read_only = false } } - container { - name = "uf" - image = "{{uf_image}}:${data.coder_parameter.splunk_version.value}" - command = ["sudo", "-E", "-u", "ansible", "/sbin/entrypoint.sh", "start"] - image_pull_policy = "{{ image_pull_policy }}" - - security_context { - run_as_user = "{{ coder_user_uid }}" - } - - env { - name = "SPLUNK_SVC_PORT" - value = "8889" - } - env { - name = "SPLUNK_PASSWORD" - value = "Temp1234!" - } - env { - name = "SPLUNK_START_ARGS" - value = "--accept-license" - } - - resources { - requests = { - "cpu" = "250m" - "memory" = "512Mi" - } - limits = { - "cpu" = data.coder_parameter.cpu.value - "memory" = "${data.coder_parameter.memory.value}Gi" - } - } - - volume_mount { - mount_path = "/opt/splunkforwarder/etc" - name = "home" - sub_path = "uf" - read_only = false - } - } {% endblock %} \ No newline at end of file