allow specifying actual budget tag [ci skip]
This commit is contained in:
parent
413efbd9ec
commit
2eb9db8aaa
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
variable "tls_secret_name" {}
|
||||
variable "name" {}
|
||||
variable "tag" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
resource "kubernetes_deployment" "actualbudget" {
|
||||
metadata {
|
||||
|
|
@ -30,7 +33,7 @@ resource "kubernetes_deployment" "actualbudget" {
|
|||
}
|
||||
spec {
|
||||
container {
|
||||
image = "actualbudget/actual-server:latest"
|
||||
image = "actualbudget/actual-server:${var.tag}"
|
||||
name = "actualbudget"
|
||||
|
||||
port {
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ module "tls_secret" {
|
|||
module "viktor" {
|
||||
source = "./factory"
|
||||
name = "viktor"
|
||||
tag = "edge"
|
||||
tls_secret_name = var.tls_secret_name
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue