Feb 17 2022 02:19 AM
Currently i was unable to create custom azure policy for AKS which require access to state data.For example to create a policy for uniqueingresshostnames in AKS cluster ,it is impossible to know if an ingress's hostname is unique among all ingresses unless a rule has access to all other ingresses. To make such rules possible, we need to enable syncing of data into OPA. Kubernetes data can be replicated into OPA via the sync config resource.
Currently config cant be edited for azure policy addon
May 07 2022 09:59 AM
The first thing to check is does the resource have a property that contains the value you want to access from a policy rule?