Fix DOCKER_HOST
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steve McMaster 2024-10-22 21:21:36 -04:00
parent 44396707b5
commit f0b0c13e39
2 changed files with 9 additions and 5 deletions

View File

@ -453,6 +453,8 @@ resource "kubernetes_deployment" "main" {
name = "CODER_AGENT_TOKEN"
value = coder_agent.main.token
}
{% block kubernetes_pod_extra_env %}
{% endblock %}
{% endblock %}
{% block kubernetes_pod_resources %}

View File

@ -28,6 +28,13 @@ resource "coder_app" "adminer" {
}
{% endblock %}
{% block kubernetes_pod_extra_env %}
env {
name = "DOCKER_HOST"
value = "tcp://localhost:2375"
}
{% endblock %}
{% block additional_containers %}
container {
name = "dind"
@ -47,11 +54,6 @@ resource "coder_app" "adminer" {
"--registry-mirror=http://docker-cache.cicd.svc.cluster.local:5000"
]
env {
name = "DOCKER_HOST"
value = "tcp://localhost:2375"
}
resources {
requests = {
"cpu" = "500m"