hello @sns
you can change the value of the hostNetwork from helm chart Values.yaml file once you pull it from this link
1- helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
2- helm pull gatekeeper/gatekeeper
3- tar -zxvf gatekeeper-3.11.0.tgz
you can change the value of the hostNetwork to false from the values.yaml as below :
or you can add --set flag using helm command :
helm install -n gatekeeper-system [RELEASE_NAME] gatekeeper/gatekeeper --set controllerManager.hostNetwork=false
you can check the helm chart that you are using and follow the same steps.
I advise you to use the gatekeeper extension with aks as its supported check this document as below:
also to use the fluxV2 check this document