This commit is contained in:
parent
422cb946e4
commit
06969dbf46
@ -135,7 +135,7 @@ resource "kubernetes_pod" "main" {
|
||||
command = ["bash", "-c", coder_agent.main.init_script]
|
||||
{% endblock %}
|
||||
|
||||
{% block kubernetes_pod_main_security_context %}
|
||||
{% block kubernetes_pod_main_container_security_context %}
|
||||
security_context {
|
||||
run_as_user = "{{ coder_user_uid|default("1000", true) }}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user