fix: kubernetes clusterDomain
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
2023-01-29 23:50:30 +01:00
parent 7bf3fdc733
commit 21d17ee81c

View File

@@ -14,7 +14,7 @@ resource "helm_release" "drone_runner_docker" {
jsonencode({ jsonencode({
env = { env = {
DRONE_SERVER_HOST = "https://${local.drone_domain}" DRONE_SERVER_HOST = "https://${local.drone_domain}"
DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.cluster.local:8080" DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.k8s.lawndale:8080"
DRONE_RPC_PROTO = "http" DRONE_RPC_PROTO = "http"
DRONE_UI_USERNAME = local.runner_dashboard_user DRONE_UI_USERNAME = local.runner_dashboard_user
} }
@@ -78,7 +78,7 @@ resource "helm_release" "drone_runner_kube" {
jsonencode({ jsonencode({
env = { env = {
DRONE_SERVER_HOST = "https://${local.drone_domain}" DRONE_SERVER_HOST = "https://${local.drone_domain}"
DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.cluster.local:8080" DRONE_RPC_HOST = "${helm_release.drone_server.name}.${helm_release.drone_server.namespace}.svc.k8s.lawndale:8080"
DRONE_RPC_PROTO = "http" DRONE_RPC_PROTO = "http"
DRONE_NAMESPACE_DEFAULT = kubernetes_namespace.jobs.metadata.0.name DRONE_NAMESPACE_DEFAULT = kubernetes_namespace.jobs.metadata.0.name
DRONE_UI_USERNAME = local.runner_dashboard_user DRONE_UI_USERNAME = local.runner_dashboard_user