Skip to content

Commit

Permalink
added waf in monitor mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheonnexx committed Mar 17, 2022
1 parent 1401569 commit 0971122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm_deploy/cla-public/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ metadata:
labels:
{{- include "cla-public.labels" . | nindent 4 }}
annotations:
kubernetes.io/ingress.class: "modsec01"
{{- if .Values.ingress.cluster.name }}
external-dns.alpha.kubernetes.io/set-identifier: "{{ $fullName }}-{{ .Release.Namespace }}-{{- .Values.ingress.cluster.name -}}"
external-dns.alpha.kubernetes.io/aws-weight: "{{- .Values.ingress.cluster.weight -}}"
{{- end }}
{{- with .Values.ingress.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
spec:
tls:
- hosts:
Expand Down

0 comments on commit 0971122

Please sign in to comment.