add tier to all deployments [ci skip]

This commit is contained in:
Viktor Barzin 2026-01-10 16:28:12 +00:00
parent 20cd480988
commit 8abb8eddc0
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
95 changed files with 794 additions and 118 deletions

View file

@ -1,4 +1,5 @@
variable "tls_secret_name" {}
variable "tier" { type = string }
variable "clickhouse_password" { type = string }
variable "postgres_password" { type = string }
@ -29,7 +30,8 @@ resource "kubernetes_deployment" "clickhouse" {
name = "clickhouse"
namespace = kubernetes_namespace.rybbit.metadata[0].name
labels = {
app = "clickhouse"
app = "clickhouse"
tier = var.tier
}
}
spec {
@ -110,7 +112,8 @@ resource "kubernetes_deployment" "rybbit" {
name = "rybbit"
namespace = kubernetes_namespace.rybbit.metadata[0].name
labels = {
app = "rybbit"
app = "rybbit"
tier = var.tier
}
}
spec {
@ -222,7 +225,8 @@ resource "kubernetes_deployment" "rybbit-client" {
name = "rybbit-client"
namespace = kubernetes_namespace.rybbit.metadata[0].name
labels = {
app = "rybbit-client"
app = "rybbit-client"
tier = var.tier
}
}
spec {