thumbservice password
This commit is contained in:
parent
403b49c429
commit
05837b4909
|
@ -73,6 +73,10 @@ variable "cache_url" {
|
||||||
description = "uri for cache"
|
description = "uri for cache"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "thumbservice_password" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
requests = defaults(var.requests,
|
requests = defaults(var.requests,
|
||||||
|
@ -139,7 +143,7 @@ resource "kubernetes_deployment" "photolib" {
|
||||||
}
|
}
|
||||||
env {
|
env {
|
||||||
name = "THUMB_SERVICE_URL"
|
name = "THUMB_SERVICE_URL"
|
||||||
value = "http://_thumbservice:xxx@${var.name}-thumbservice.${var.namespace}.svc.cluster.local:8081/thumb"
|
value = "http://_thumbservice:${var.thumbservice_password}@${var.name}-thumbservice.${var.namespace}.svc.cluster.local:8081/thumb"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue