terraform-contour-mirror/modules/k8s-secret/variables.tf
kochetkov.s be34bc617b refactor: Use unified infrastructure.yaml config file
- 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)
2026-01-19 15:28:39 +03:00

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
}