do you have an example of how to add an audit block to the conf yaml file only if the env is dev?
01/05/2023, 6:49 PM
Are you using Helm to deploy Cerbos?
01/05/2023, 6:59 PM
I am not
what is Helm, lol
we have a jenkins pipeline building our docker image and deploying it
01/05/2023, 7:11 PM
Helm is a popular way to deploy to Kubernetes. It allows you to customize the deployment for each environment. But, since you're not using that, I can suggest two options.
Option 1: Use an environment variable to flip
config field. So you would have your config file looking something like the following and launch your container with
Option 2: Add
as an argument to the docker
field or your container launch script
01/05/2023, 7:31 PM
ok awesome, and otherwise will I be fine to keep the backend and file attributes even when audit.enabled = false?: