add mitmproxy container
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a267a178e4
commit
6436d91d00
@ -38,12 +38,29 @@ resource "coder_app" "splunk-lm" {
|
|||||||
{% block kubernetes_pod_main_env %}
|
{% block kubernetes_pod_main_env %}
|
||||||
env {
|
env {
|
||||||
name = "SPLUNK_LICENSE_MASTER_URL"
|
name = "SPLUNK_LICENSE_MASTER_URL"
|
||||||
value = "https://localhost:8091"
|
value = "https://localhost:8092"
|
||||||
}
|
}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block additional_containers %}
|
{% 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 {
|
container {
|
||||||
name = "lm"
|
name = "lm"
|
||||||
image = "{{image}}:${data.coder_parameter.splunk_version.value}"
|
image = "{{image}}:${data.coder_parameter.splunk_version.value}"
|
||||||
|
|||||||
Reference in New Issue
Block a user