https://rancher.com/ logo
Title
h

hundreds-evening-84071

05/08/2023, 9:49 PM
Another question..... In the Neuvector UI -> Policy -> Admission Control I created a rule that DENY deployments in default namespace. And this works perfectly. My question is, where is this saved? Is it just writing a yaml file somewhere and applying it?
a

acoustic-sugar-94270

05/09/2023, 3:57 PM
Policies are saved in the controller config in memory. You can use persistent storage to save controller configuration automatically when node goes away or export configuration manually. Here’s a screenshot of how to export a backup.
image.png
You can specifically export/import admission control rules directly via CRD YAML…
or you can “federate” admission control rules from a primary cluster to the federated clusters…
h

hundreds-evening-84071

05/09/2023, 6:48 PM
Thank you