The update can be performed by updating the ClusterPolicy object, defined by file policy_v1_clusterpolicy.yaml.
After the edit of this file, simply run kubectl apply
to update the ClusterPolicy object.
$ kubectl apply -f ./config/samples/policy_v1_clusterpolicy.yaml
clusterpolicy.policy.xilinx.com/fpga-clusterpolicy configured
The change of ClusterPolicy object will trigger the reconcile loop of FPGA-Operator controller, leading to the Kubernetes resources update if needed.