This commit is contained in:
parent
e9542affff
commit
619f830268
@ -66,7 +66,7 @@ resource "coder_agent" "main" {
|
||||
{% block post_startup_script_install_code_server %}
|
||||
{% endblock %}
|
||||
|
||||
{% block cleanup %}
|
||||
{% block startup_script_cleanup %}
|
||||
{% endblock %}
|
||||
EOT
|
||||
{% endblock %}
|
||||
|
||||
@ -20,14 +20,14 @@ resource "coder_app" "splunk" {
|
||||
}
|
||||
{% endblock %}
|
||||
|
||||
{% block kubernetes_pod_main_command %}
|
||||
command = ["/sbin/entrypoint.sh", "/usr/bin/bash", "-c", coder_agent.main.init_script]
|
||||
{% block startup_script_cleanup %}
|
||||
/sbin/entrypoint.sh start
|
||||
{% endblock %}
|
||||
|
||||
{% block kubernetes_pod_main_env %}
|
||||
env {
|
||||
env {
|
||||
name = "SPLUNK_START_ARGS"
|
||||
value = "--accept-license"
|
||||
}
|
||||
}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user