Skip to content

Commit

Permalink
fix: missing logging arguments for dikastes (#3056)
Browse files Browse the repository at this point in the history
  • Loading branch information
electricjesus authored Dec 13, 2023
1 parent 713ed24 commit 3f13428
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/render/applicationlayer/applicationlayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"bytes"
_ "embed"
"fmt"
"path/filepath"
"strconv"
"strings"
"text/template"
Expand Down Expand Up @@ -298,6 +299,7 @@ func (c *component) containers() []corev1.Container {
commandArgs = append(
commandArgs,
"--waf-enabled",
"--waf-log-file", filepath.Join(CalicologsVolumePath, "waf", "waf.log"),
"--waf-ruleset-base-dir", ModSecurityRulesetVolumePath,
"--waf-directive", "Include modsecdefault.conf",
"--waf-directive", "Include crs-setup.conf",
Expand Down Expand Up @@ -418,7 +420,7 @@ func (c *component) volumes() []corev1.Volume {
Name: CalicoLogsVolumeName,
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: "/var/log/calico",
Path: CalicologsVolumePath,
Type: &hostPathDirectoryOrCreate,
},
},
Expand Down

0 comments on commit 3f13428

Please sign in to comment.