Skip to content

Commit ae06bf2

Browse files
committed
Removes the waf-log-file param that is being deprecated
1 parent e768b15 commit ae06bf2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pkg/render/applicationlayer/applicationlayer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ func (c *component) containers() []corev1.Container {
312312
if c.config.PerHostWAFEnabled || c.config.SidecarInjectionEnabled {
313313
commandArgs = append(
314314
commandArgs,
315-
"--waf-log-file", filepath.Join(CalicologsVolumePath, "waf", "waf.log"),
316315
"--waf-ruleset-file", filepath.Join(ModSecurityRulesetVolumePath, "tigera.conf"),
317316
)
318317
if c.config.PerHostWAFEnabled {

pkg/render/applicationlayer/applicationlayer_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,6 @@ var _ = Describe("Tigera Secure Application Layer rendering tests", func() {
657657
dikastesArgs := dikastesContainer.Command
658658
expectedDikastesArgs := []string{
659659
"--per-host-waf-enabled",
660-
"--waf-log-file", filepath.Join(applicationlayer.CalicologsVolumePath, "waf", "waf.log"),
661660
"--waf-ruleset-file", filepath.Join(applicationlayer.ModSecurityRulesetVolumePath, "tigera.conf"),
662661
}
663662
for _, element := range expectedDikastesArgs {

0 commit comments

Comments
 (0)