feat: add docker runner and set runner dashboards
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
21
dashboard.tf
Normal file
21
dashboard.tf
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user