File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export const InfraConfigSchema = z.object({
9292 } ) ,
9393 istio : z . object ( {
9494 enableIngressAccessLogging : z . boolean ( ) ,
95+ enableClusterAccessLogging : z . boolean ( ) . default ( false ) ,
9596 } ) ,
9697 extraCustomResources : z . object ( { } ) . catchall ( z . any ( ) ) . default ( { } ) ,
9798 } ) ,
Original file line number Diff line number Diff line change @@ -100,10 +100,8 @@ function configureIstiod(
100100 } ,
101101 // https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/
102102 meshConfig : {
103- // Uncomment to turn on access logging across the entire cluster (we disabled it by default to reduce cost):
104- // accessLogFile: '/dev/stdout',
105103 // taken from https://github.com/istio/istio/issues/37682
106- accessLogFile : '' ,
104+ accessLogFile : infraConfig . istio . enableClusterAccessLogging ? '/dev/stdout' : '' ,
107105 accessLogEncoding : 'JSON' ,
108106 // https://istio.io/latest/docs/ops/integrations/prometheus/#option-1-metrics-merging disable as we don't use annotations
109107 enablePrometheusMerge : false ,
You can’t perform that action at this time.
0 commit comments