When generating the policies.yml file of a Policy Server instance, the controller has to take into account the freshly added contextAwareResources attribute.
The configuration snippet for a ClusterAdmissionPolicy that has contextAwareResources details, will look like that:
There's a new contextAwareResources attribute that is basically a dump of the contextAwareResources field of the ClusterAdmissionPolicy Custom Resource
When generating the
policies.yml
file of a Policy Server instance, the controller has to take into account the freshly addedcontextAwareResources
attribute.The configuration snippet for a
ClusterAdmissionPolicy
that hascontextAwareResources
details, will look like that:There's a new
contextAwareResources
attribute that is basically a dump of thecontextAwareResources
field of theClusterAdmissionPolicy
Custom Resource