get rid of UF
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2024-10-08 21:15:38 -04:00
parent 7c87a55fb5
commit 1c6fecf46e

View File

@ -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 %}