add hackmd to istio [ci skip]

This commit is contained in:
Viktor Barzin 2024-01-08 20:54:23 +00:00
parent 8e71ec4e4e
commit acb967749f
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,9 @@ variable "allowed_users" {
resource "kubernetes_namespace" "drone" {
metadata {
name = "drone"
# labels = {
# "istio-injection" : "enabled"
# }
}
}

View file

@ -4,6 +4,9 @@ variable "hackmd_db_password" {}
resource "kubernetes_namespace" "hackmd" {
metadata {
name = "hackmd"
labels = {
"istio-injection" : "enabled"
}
}
}
@ -25,7 +28,7 @@ resource "kubernetes_deployment" "hackmd" {
spec {
replicas = 3
strategy {
type = "Recreate"
type = "RollingUpdate" # DB is external so we can roll
}
selector {
match_labels = {

Binary file not shown.