This repository has been archived on 2026-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
coder-templates/splunk.tf.jinja
Steve McMaster e9542affff
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-12-11 18:01:07 -05:00

33 lines
768 B
Django/Jinja

{% extends "base.tf.jinja" %}
{% set coder_user_uid = 41812 %}
{% set coder_user_gid = 41812 %}
{% block coder_apps %}
resource "coder_app" "splunk" {
agent_id = coder_agent.main.id
name = "splunk"
icon = "/en-US/static/img/bookmark/apple-icon-57x57-precomposed.png"
url = "http://localhost:8000/"
subdomain = true
share = "public"
healthcheck {
url = "http://localhost:8000/"
interval = 3
threshold = 10
}
}
{% endblock %}
{% block kubernetes_pod_main_command %}
command = ["/sbin/entrypoint.sh", "/usr/bin/bash", "-c", coder_agent.main.init_script]
{% endblock %}
{% block kubernetes_pod_main_env %}
env {
name = "SPLUNK_START_ARGS"
value = "--accept-license"
}
{{ super() }}
{% endblock %}