add credentials for ab bank sync cronjob [ci skip]
This commit is contained in:
parent
d83c5c5526
commit
bfa53c5455
5 changed files with 22 additions and 12 deletions
3
main.tf
3
main.tf
|
|
@ -132,6 +132,7 @@ variable "clickhouse_password" { type = string }
|
|||
variable "clickhouse_postgres_password" { type = string }
|
||||
variable "wealthfolio_password_hash" { type = string }
|
||||
variable "aiostreams_database_connection_string" { type = string }
|
||||
variable "actualbudget_credentials" { type = map(any) }
|
||||
|
||||
|
||||
provider "kubernetes" {
|
||||
|
|
@ -553,6 +554,8 @@ module "kubernetes_cluster" {
|
|||
wealthfolio_password_hash = var.wealthfolio_password_hash
|
||||
|
||||
aiostreams_database_connection_string = var.aiostreams_database_connection_string
|
||||
|
||||
actualbudget_credentials = var.actualbudget_credentials
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
variable "tls_secret_name" {}
|
||||
variable "tier" { type = string }
|
||||
variable "credentials" { type = map(any) }
|
||||
|
||||
# To create a new deployment:
|
||||
/**
|
||||
|
|
@ -32,6 +33,8 @@ module "viktor" {
|
|||
tls_secret_name = var.tls_secret_name
|
||||
depends_on = [kubernetes_namespace.actualbudget]
|
||||
tier = var.tier
|
||||
budget_encryption_password = lookup(var.credentials["viktor"], "password", null)
|
||||
sync_id = lookup(var.credentials["viktor"], "sync_id", null)
|
||||
}
|
||||
|
||||
# https://budget-anca.viktorbarzin.me/
|
||||
|
|
@ -42,4 +45,6 @@ module "anca" {
|
|||
tls_secret_name = var.tls_secret_name
|
||||
depends_on = [kubernetes_namespace.actualbudget]
|
||||
tier = var.tier
|
||||
budget_encryption_password = lookup(var.credentials["anca"], "password", null)
|
||||
sync_id = lookup(var.credentials["anca"], "sync_id", null)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ variable "clickhouse_password" { type = string }
|
|||
variable "clickhouse_postgres_password" { type = string }
|
||||
variable "wealthfolio_password_hash" { type = string }
|
||||
variable "aiostreams_database_connection_string" { type = string }
|
||||
variable "actualbudget_credentials" { type = map(any) }
|
||||
|
||||
|
||||
variable "defcon_level" {
|
||||
|
|
@ -809,6 +810,7 @@ module "actualbudget" {
|
|||
for_each = contains(local.active_modules, "actualbudget") ? { actualbudget = true } : {}
|
||||
tls_secret_name = var.tls_secret_name
|
||||
tier = local.tiers.edge
|
||||
credentials = var.actualbudget_credentials
|
||||
|
||||
depends_on = [null_resource.core_services]
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
BIN
terraform.tfvars
BIN
terraform.tfvars
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue