Skip to content

Commit

Permalink
fix: remove audit (#870)
Browse files Browse the repository at this point in the history
Co-authored-by: David Ragot <[email protected]>
  • Loading branch information
Dav-14 and David Ragot authored Nov 16, 2023
1 parent a8ad48a commit 34b2ff9
Show file tree
Hide file tree
Showing 25 changed files with 11 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: ZNfFU88ePwn2xdPMGP11WIBMaRgaIm0dFu-Oha_n9GQ=
stack.formance.cloud/volumes-hash: QPoPikY8V9LdSakc-CRiDDGku35FuM6uznQALGAN308=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: w3lqVr2tqPGU9vJTRCSJFaer9cm-CxSFVT8z8GJe9vU=
stack.formance.cloud/volumes-hash: q1cjlPTVc24ROZvkPA4_y3wLIDF9DU3ZbfqueyJ6Wfs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: CqdbENklnQsWUPfR4ZmKTUH-h6k5rUG6IsvGyvTU8iU=
stack.formance.cloud/volumes-hash: uWibF55Tug6PWYx4ut_rrdxdVKwENi8zbKzIky-yofw=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ data:
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
order audit after encode
}
:8000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
template:
metadata:
annotations:
stack.formance.cloud/volumes-hash: 7p3kZCm5cFpCNLRGw3c9Lm-amWoDWT2Kvnp62eC5maI=
stack.formance.cloud/volumes-hash: lVeRbxA7y5XobMRStzHbXMCQAB2JhVSZryUEZEZwVvs=
creationTimestamp: null
labels:
app.kubernetes.io/name: gateway
Expand Down
2 changes: 2 additions & 0 deletions components/operator/internal/modules/gateway/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ const caddyfile = `(cors) {
# c.f. https://caddyserver.com/docs/caddyfile/directives#directive-order
order auth before basicauth
order versions after metrics
{{- if .EnableAudit }}
order audit after encode
{{- end }}
}
:{{ .Port }} {
Expand Down

1 comment on commit 34b2ff9

@vercel
Copy link

@vercel vercel bot commented on 34b2ff9 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.