allow specifying actual budget tag [ci skip]

This commit is contained in:
Viktor Barzin 2024-12-29 17:11:30 +00:00
parent 413efbd9ec
commit 2eb9db8aaa
2 changed files with 5 additions and 1 deletions

View file

@ -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 {

View file

@ -27,6 +27,7 @@ module "tls_secret" {
module "viktor" {
source = "./factory"
name = "viktor"
tag = "edge"
tls_secret_name = var.tls_secret_name
}