feat: add docker runner and set runner dashboards
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-28 20:36:44 +01:00
parent 0cff237e31
commit 0610bb40a7
6 changed files with 118 additions and 11 deletions

21
dashboard.tf Normal file
View File

@@ -0,0 +1,21 @@
locals {
runner_dashboard_user = "admin"
}
resource "random_password" "runner_dashboard" {
length = 30
special = false
}
resource "kubernetes_secret" "runner_dashboard" {
metadata {
name = "runner-dashboard-access"
namespace = kubernetes_namespace.server.metadata.0.name
}
data = {
username = local.runner_dashboard_user
password = random_password.runner_dashboard.result
}
type = "kubernetes.io/basic-auth"
}