fix(k8s-dashboard): ignore Keel/tier drift on oauth2-proxy deployment

This commit is contained in:
Viktor Barzin 2026-06-04 02:49:10 +00:00
parent 75c2b6dc5e
commit ed4ed6bd09

View file

@ -126,7 +126,13 @@ resource "kubernetes_deployment" "oauth2_proxy" {
}
lifecycle {
ignore_changes = [
spec[0].template[0].spec[0].dns_config, # KYVERNO_LIFECYCLE_V1
spec[0].template[0].spec[0].dns_config, # KYVERNO_LIFECYCLE_V1
spec[0].template[0].spec[0].container[0].image, # KEEL_IGNORE_IMAGE Keel manages tag updates
metadata[0].annotations["keel.sh/policy"],
metadata[0].annotations["keel.sh/trigger"],
metadata[0].annotations["keel.sh/pollSchedule"], # KYVERNO_LIFECYCLE_V2
metadata[0].annotations["keel.sh/match-tag"],
metadata[0].labels["tier"], # stamped from namespace tier label
]
}
}