I have set up a freeradius container in a kubernetes cluster. By default freeradius doesn't log authentication attempts or log passwords in plain text, however, if the service is started with the "-X" arg (debugging mode), it overrides the default configuration and logs EVERYTHING to STDOUT. I have tried not specifying that arg in the deploy file, but then the container crashes upon startup.
Is there a way to either run freeradius in the container so that it doesn't create those logs in the first place, or to configure the deployment so that those logs cannot be accessed?