[ci skip] Add tier labels to all namespace resources for Kyverno resource governance
Added `tier = var.tier` to kubernetes_namespace labels in ~73 service modules. This enables Kyverno to generate LimitRange defaults, ResourceQuotas, and PriorityClass injection for all namespaces. Previously only 11 namespaces had tier labels; now all 80 active namespaces are labeled. All pods restarted in rolling waves to pick up the new policies.
This commit is contained in:
parent
517f5d6a6c
commit
d345841ef2
66 changed files with 135 additions and 12 deletions
|
|
@ -12,6 +12,9 @@ variable "ssh_key" {}
|
|||
resource "kubernetes_namespace" "webhook-handler" {
|
||||
metadata {
|
||||
name = "webhook-handler"
|
||||
labels = {
|
||||
tier = var.tier
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue