mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
- Add infrastructure.yaml as single source of truth (like values.yaml in Helm) - Make all modules universal (no hardcoded entity names) - Use existing PostgreSQL cluster instead of creating new one - Add yc-database module for working with existing PostgreSQL - Add k8s-secret module with lifecycle.ignore_changes support - Update terragrunt.hcl files to read from infrastructure.yaml - Remove scripts, use native Terragrunt functions (yamldecode)
39 lines
897 B
HCL
39 lines
897 B
HCL
variable "secret_name" {
|
|
description = "Имя секрета"
|
|
type = string
|
|
}
|
|
|
|
variable "namespace" {
|
|
description = "Kubernetes namespace"
|
|
type = string
|
|
}
|
|
|
|
variable "secret_type" {
|
|
description = "Тип секрета (Opaque, kubernetes.io/dockerconfigjson, etc.)"
|
|
type = string
|
|
default = "Opaque"
|
|
}
|
|
|
|
variable "data" {
|
|
description = "Данные секрета (map строк)"
|
|
type = map(string)
|
|
}
|
|
|
|
variable "labels" {
|
|
description = "Labels для секрета"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "annotations" {
|
|
description = "Annotations для секрета"
|
|
type = map(string)
|
|
default = {}
|
|
}
|
|
|
|
variable "ignore_changes" {
|
|
description = "Игнорировать изменения после создания (не перезаписывать)"
|
|
type = bool
|
|
default = false
|
|
}
|