50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
image:
|
|
repository: owasp/modsecurity-crs
|
|
pullPolicy: IfNotPresent
|
|
tag: 3.3.4-apache-202307110507@sha256:0ee904f178e2262b21fb6fc909fc1270dbe9c758b1907fdfb3479c4684f447e0
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
port: 8081
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
path: "/healthz"
|
|
readiness:
|
|
path: "/healthz"
|
|
startup:
|
|
path: "/healthz"
|
|
env:
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
MODSEC_DATA_DIR: "{{ .Values.persistence.data.mountPath }}"
|
|
MODSEC_TMP_DIR: "{{ .Values.persistence.temp.mountPath }}"
|
|
MODSEC_UPLOAD_DIR: "{{ .Values.persistence.upload.mountPath }}"
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: emptyDir
|
|
mountPath: /modsecurity/data
|
|
temp:
|
|
enabled: true
|
|
type: emptyDir
|
|
mountPath: /modsecurity/temp
|
|
upload:
|
|
enabled: true
|
|
type: emptyDir
|
|
mountPath: /modsecurity/upload
|
|
portal:
|
|
open:
|
|
enabled: true
|