0-Home
Github
TraceMyPodsOfficial
TMP-docs
PSP
Mutate Label.yaml

Documentation

✅ Kyverno Policy: Add kyverno=true Label if Missing

apiVersion: kyverno.io/v1 kind: ClusterPolicy metadata: name: add-kyverno-label spec: background: true rules:

  • name: add-label-to-resources match: resources: kinds:
    • Pod
    • Deployment
    • Service namespaces:
    • ai-assistant mutate: patchStrategicMerge: metadata: labels: kyverno: "true"

💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI