add hackmd to istio [ci skip]
This commit is contained in:
parent
8e71ec4e4e
commit
acb967749f
3 changed files with 7 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ variable "allowed_users" {
|
|||
resource "kubernetes_namespace" "drone" {
|
||||
metadata {
|
||||
name = "drone"
|
||||
# labels = {
|
||||
# "istio-injection" : "enabled"
|
||||
# }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue