fix(monitoring): force_conflicts on grafana_db_creds ExternalSecret
The external-secrets controller owns .spec.refreshInterval via SSA, so a plain terraform apply of the monitoring stack conflicts. Latent until 2026-06-24 (the homelab-vault loki-rules change was the first monitoring apply in a while and surfaced it). force_conflicts lets TF win — same pattern as woodpecker/traefik/ k8s-version-upgrade stacks.
This commit is contained in:
parent
e711b2f971
commit
65b2df1222
1 changed files with 9 additions and 0 deletions
|
|
@ -71,6 +71,15 @@ resource "kubernetes_persistent_volume" "alertmanager_pv" {
|
|||
# DB credentials from Vault database engine (rotated automatically)
|
||||
# Provides GF_DATABASE_PASSWORD that auto-updates when password rotates
|
||||
resource "kubernetes_manifest" "grafana_db_creds" {
|
||||
# The external-secrets controller takes server-side-apply ownership of
|
||||
# .spec.refreshInterval, so a plain TF apply conflicts ("conflict with
|
||||
# external-secrets ... .spec.refreshInterval"). force_conflicts lets TF win
|
||||
# (values match, so it's stable) — same pattern as the woodpecker/traefik/
|
||||
# k8s-version-upgrade stacks. Surfaced 2026-06-24: the first monitoring apply
|
||||
# in a while exposed this latent conflict (prior pushes were docs-only).
|
||||
field_manager {
|
||||
force_conflicts = true
|
||||
}
|
||||
manifest = {
|
||||
apiVersion = "external-secrets.io/v1"
|
||||
kind = "ExternalSecret"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue