Update crowdsecBouncer.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
@@ -8,105 +8,105 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
plugin:
|
plugin:
|
||||||
bouncer:
|
bouncer:
|
||||||
{{- with $middlewareData.enabled -}}
|
{{- with $middlewareData.enabled -}}
|
||||||
enabled: {{ . }}
|
enabled: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.logLevel -}}
|
{{- with $middlewareData.logLevel -}}
|
||||||
logLevel: {{ . }}
|
logLevel: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.updateIntervalSeconds -}}
|
{{- with $middlewareData.updateIntervalSeconds -}}
|
||||||
updateIntervalSeconds: {{ . }}
|
updateIntervalSeconds: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.defaultDecisionSeconds -}}
|
{{- with $middlewareData.defaultDecisionSeconds -}}
|
||||||
defaultDecisionSeconds: {{ . }}
|
defaultDecisionSeconds: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.httpTimeoutSeconds -}}
|
{{- with $middlewareData.httpTimeoutSeconds -}}
|
||||||
httpTimeoutSeconds: {{ . }}
|
httpTimeoutSeconds: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecMode -}}
|
{{- with $middlewareData.crowdsecMode -}}
|
||||||
crowdsecMode: {{ . }}
|
crowdsecMode: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecAppsecEnabled -}}
|
{{- with $middlewareData.crowdsecAppsecEnabled -}}
|
||||||
crowdsecAppsecEnabled: {{ . }}
|
crowdsecAppsecEnabled: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecAppsecHost -}}
|
{{- with $middlewareData.crowdsecAppsecHost -}}
|
||||||
crowdsecAppsecHost: {{ . }}
|
crowdsecAppsecHost: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecAppsecFailureBlock -}}
|
{{- with $middlewareData.crowdsecAppsecFailureBlock -}}
|
||||||
crowdsecAppsecFailureBlock: {{ . }}
|
crowdsecAppsecFailureBlock: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiKey -}}
|
{{- with $middlewareData.crowdsecLapiKey -}}
|
||||||
crowdsecLapiKey: {{ . }}
|
crowdsecLapiKey: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiKeyFile -}}
|
{{- with $middlewareData.crowdsecLapiKeyFile -}}
|
||||||
crowdsecLapiKeyFile: {{ . }}
|
crowdsecLapiKeyFile: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiHost -}}
|
{{- with $middlewareData.crowdsecLapiHost -}}
|
||||||
crowdsecLapiHost: {{ . }}
|
crowdsecLapiHost: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiScheme -}}
|
{{- with $middlewareData.crowdsecLapiScheme -}}
|
||||||
crowdsecLapiScheme: {{ . }}
|
crowdsecLapiScheme: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSInsecureVerify -}}
|
{{- with $middlewareData.crowdsecLapiTLSInsecureVerify -}}
|
||||||
crowdsecLapiTLSInsecureVerify: {{ . }}
|
crowdsecLapiTLSInsecureVerify: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecCapiMachineId -}}
|
{{- with $middlewareData.crowdsecCapiMachineId -}}
|
||||||
crowdsecCapiMachineId: {{ . }}
|
crowdsecCapiMachineId: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecCapiPassword -}}
|
{{- with $middlewareData.crowdsecCapiPassword -}}
|
||||||
crowdsecCapiPassword: {{ . }}
|
crowdsecCapiPassword: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if $middlewareData.crowdsecCapiScenarios -}}
|
{{- if $middlewareData.crowdsecCapiScenarios -}}
|
||||||
crowdsecCapiScenarios:
|
crowdsecCapiScenarios:
|
||||||
{{- range $middlewareData.crowdsecCapiScenarios -}}
|
{{- range $middlewareData.crowdsecCapiScenarios -}}
|
||||||
- {{ . }}
|
- {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if $middlewareData.forwardedHeadersTrustedIPs -}}
|
{{- if $middlewareData.forwardedHeadersTrustedIPs -}}
|
||||||
forwardedHeadersTrustedIPs:
|
forwardedHeadersTrustedIPs:
|
||||||
{{- range $middlewareData.forwardedHeadersTrustedIPs -}}
|
{{- range $middlewareData.forwardedHeadersTrustedIPs -}}
|
||||||
- {{ . }}
|
- {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- if $middlewareData.clientTrustedIPs -}}
|
{{- if $middlewareData.clientTrustedIPs -}}
|
||||||
clientTrustedIPs:
|
clientTrustedIPs:
|
||||||
{{- range $middlewareData.clientTrustedIPs -}}
|
{{- range $middlewareData.clientTrustedIPs -}}
|
||||||
- {{ . }}
|
- {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.forwardedHeadersCustomName -}}
|
{{- with $middlewareData.forwardedHeadersCustomName -}}
|
||||||
forwardedHeadersCustomName: {{ . }}
|
forwardedHeadersCustomName: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.redisCacheEnabled -}}
|
{{- with $middlewareData.redisCacheEnabled -}}
|
||||||
redisCacheEnabled: {{ . }}
|
redisCacheEnabled: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.redisCacheHost -}}
|
{{- with $middlewareData.redisCacheHost -}}
|
||||||
redisCacheHost: {{ . }}
|
redisCacheHost: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.redisCachePassword -}}
|
{{- with $middlewareData.redisCachePassword -}}
|
||||||
redisCachePassword: {{ . }}
|
redisCachePassword: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.redisCacheDatabase -}}
|
{{- with $middlewareData.redisCacheDatabase -}}
|
||||||
redisCacheDatabase: {{ . }}
|
redisCacheDatabase: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthority -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthority -}}
|
||||||
crowdsecLapiTLSCertificateAuthority: {{ . }}
|
crowdsecLapiTLSCertificateAuthority: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}}
|
||||||
crowdsecLapiTLSCertificateAuthorityFile: {{ . }}
|
crowdsecLapiTLSCertificateAuthorityFile: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncer -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncer -}}
|
||||||
crowdsecLapiTLSCertificateBouncer: {{ . }}
|
crowdsecLapiTLSCertificateBouncer: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}}
|
||||||
crowdsecLapiTLSCertificateBouncerFile: {{ . }}
|
crowdsecLapiTLSCertificateBouncerFile: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}}
|
||||||
crowdsecLapiTLSCertificateBouncerKey: {{ . }}
|
crowdsecLapiTLSCertificateBouncerKey: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}}
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}}
|
||||||
crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }}
|
crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user