thumbservice password

This commit is contained in:
dave 2021-08-29 20:29:41 -07:00
parent 403b49c429
commit 05837b4909
1 changed files with 5 additions and 1 deletions

View File

@ -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"
} }