Compare commits

..

2 Commits

Author SHA1 Message Date
6436d91d00 add mitmproxy container
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-18 23:16:02 -04:00
a267a178e4 update lm image 2024-09-18 23:13:12 -04:00

View File

@ -38,15 +38,32 @@ resource "coder_app" "splunk-lm" {
{% block kubernetes_pod_main_env %}
env {
name = "SPLUNK_LICENSE_MASTER_URL"
value = "https://localhost:8091"
value = "https://localhost:8092"
}
{{ super() }}
{% endblock %}
{% block additional_containers %}
container {
name = "mitmproxy"
image = "mitmproxy/mitmproxy"
command = ["mitmdump", "--mode", "reverse:https://localhost:8091@8092"]
image_pull_policy = "{{ image_pull_policy }}"
resources {
requests = {
"cpu" = "250m"
"memory" = "512Mi"
}
limits = {
"cpu" = data.coder_parameter.cpu.value
"memory" = "${data.coder_parameter.memory.value}Gi"
}
}
}
container {
name = "lm"
image = "{{image}}"
image = "{{image}}:${data.coder_parameter.splunk_version.value}"
command = ["sudo", "-E", "-u", "ansible", "/sbin/entrypoint.sh", "start"]
image_pull_policy = "{{ image_pull_policy }}"