fix(traefik): make crowdsecbouncer not error out
This commit is contained in:
parent
eaf710ad46
commit
206ce2df8b
|
@ -36,4 +36,4 @@ sources:
|
|||
- https://github.com/truecharts/charts/tree/master/charts/enterprise/traefik
|
||||
- https://github.com/truecharts/containers/tree/master/apps/traefik
|
||||
type: application
|
||||
version: 26.4.2
|
||||
version: 26.4.3
|
||||
|
|
|
@ -8,105 +8,105 @@ metadata:
|
|||
spec:
|
||||
plugin:
|
||||
bouncer:
|
||||
{{- with $middlewareData.enabled -}}
|
||||
{{ with $middlewareData.enabled -}}
|
||||
enabled: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.logLevel -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.logLevel -}}
|
||||
logLevel: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.updateIntervalSeconds -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.updateIntervalSeconds -}}
|
||||
updateIntervalSeconds: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.defaultDecisionSeconds -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.defaultDecisionSeconds -}}
|
||||
defaultDecisionSeconds: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.httpTimeoutSeconds -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.httpTimeoutSeconds -}}
|
||||
httpTimeoutSeconds: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecMode -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecMode -}}
|
||||
crowdsecMode: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecAppsecEnabled -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecAppsecEnabled -}}
|
||||
crowdsecAppsecEnabled: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecAppsecHost -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecAppsecHost -}}
|
||||
crowdsecAppsecHost: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecAppsecFailureBlock -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecAppsecFailureBlock -}}
|
||||
crowdsecAppsecFailureBlock: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiKey -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiKey -}}
|
||||
crowdsecLapiKey: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiKeyFile -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiKeyFile -}}
|
||||
crowdsecLapiKeyFile: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiHost -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiHost -}}
|
||||
crowdsecLapiHost: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiScheme -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiScheme -}}
|
||||
crowdsecLapiScheme: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSInsecureVerify -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSInsecureVerify -}}
|
||||
crowdsecLapiTLSInsecureVerify: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecCapiMachineId -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecCapiMachineId -}}
|
||||
crowdsecCapiMachineId: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecCapiPassword -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecCapiPassword -}}
|
||||
crowdsecCapiPassword: {{ . }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- if $middlewareData.crowdsecCapiScenarios -}}
|
||||
crowdsecCapiScenarios:
|
||||
{{- range $middlewareData.crowdsecCapiScenarios -}}
|
||||
- {{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if $middlewareData.forwardedHeadersTrustedIPs -}}
|
||||
forwardedHeadersTrustedIPs:
|
||||
{{- range $middlewareData.forwardedHeadersTrustedIPs -}}
|
||||
- {{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if $middlewareData.clientTrustedIPs -}}
|
||||
clientTrustedIPs:
|
||||
{{- range $middlewareData.clientTrustedIPs -}}
|
||||
- {{ . }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.forwardedHeadersCustomName -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.forwardedHeadersCustomName -}}
|
||||
forwardedHeadersCustomName: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.redisCacheEnabled -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.redisCacheEnabled -}}
|
||||
redisCacheEnabled: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.redisCacheHost -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.redisCacheHost -}}
|
||||
redisCacheHost: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.redisCachePassword -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.redisCachePassword -}}
|
||||
redisCachePassword: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.redisCacheDatabase -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.redisCacheDatabase -}}
|
||||
redisCacheDatabase: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthority -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateAuthority -}}
|
||||
crowdsecLapiTLSCertificateAuthority: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}}
|
||||
crowdsecLapiTLSCertificateAuthorityFile: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncer -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncer -}}
|
||||
crowdsecLapiTLSCertificateBouncer: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}}
|
||||
crowdsecLapiTLSCertificateBouncerFile: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}}
|
||||
crowdsecLapiTLSCertificateBouncerKey: {{ . }}
|
||||
{{- end -}}
|
||||
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}}
|
||||
{{- end }}
|
||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}}
|
||||
crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in New Issue