Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
08f148b9bd
commit
0ef7325fd3
|
@ -1,112 +0,0 @@
|
||||||
{{- range $index, $middlewareData := .Values.middlewares.crowdsecBouncer }}
|
|
||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
|
|
||||||
namespace: {{ $.Release.Namespace }}
|
|
||||||
spec:
|
|
||||||
plugin:
|
|
||||||
bouncer:
|
|
||||||
{{ with $middlewareData.enabled -}}
|
|
||||||
enabled: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.logLevel -}}
|
|
||||||
logLevel: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.updateIntervalSeconds -}}
|
|
||||||
updateIntervalSeconds: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.defaultDecisionSeconds -}}
|
|
||||||
defaultDecisionSeconds: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.httpTimeoutSeconds -}}
|
|
||||||
httpTimeoutSeconds: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecMode -}}
|
|
||||||
crowdsecMode: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecAppsecEnabled -}}
|
|
||||||
crowdsecAppsecEnabled: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecAppsecHost -}}
|
|
||||||
crowdsecAppsecHost: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecAppsecFailureBlock -}}
|
|
||||||
crowdsecAppsecFailureBlock: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiKey -}}
|
|
||||||
crowdsecLapiKey: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiKeyFile -}}
|
|
||||||
crowdsecLapiKeyFile: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiHost -}}
|
|
||||||
crowdsecLapiHost: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiScheme -}}
|
|
||||||
crowdsecLapiScheme: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSInsecureVerify -}}
|
|
||||||
crowdsecLapiTLSInsecureVerify: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecCapiMachineId -}}
|
|
||||||
crowdsecCapiMachineId: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecCapiPassword -}}
|
|
||||||
crowdsecCapiPassword: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if $middlewareData.crowdsecCapiScenarios -}}
|
|
||||||
crowdsecCapiScenarios:
|
|
||||||
{{- range $middlewareData.crowdsecCapiScenarios -}}
|
|
||||||
- {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if $middlewareData.forwardedHeadersTrustedIPs -}}
|
|
||||||
forwardedHeadersTrustedIPs:
|
|
||||||
{{- range $middlewareData.forwardedHeadersTrustedIPs -}}
|
|
||||||
- {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{- if $middlewareData.clientTrustedIPs -}}
|
|
||||||
clientTrustedIPs:
|
|
||||||
{{- range $middlewareData.clientTrustedIPs -}}
|
|
||||||
- {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.forwardedHeadersCustomName -}}
|
|
||||||
forwardedHeadersCustomName: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.redisCacheEnabled -}}
|
|
||||||
redisCacheEnabled: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.redisCacheHost -}}
|
|
||||||
redisCacheHost: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.redisCachePassword -}}
|
|
||||||
redisCachePassword: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.redisCacheDatabase -}}
|
|
||||||
redisCacheDatabase: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateAuthority -}}
|
|
||||||
crowdsecLapiTLSCertificateAuthority: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile -}}
|
|
||||||
crowdsecLapiTLSCertificateAuthorityFile: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncer -}}
|
|
||||||
crowdsecLapiTLSCertificateBouncer: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerFile -}}
|
|
||||||
crowdsecLapiTLSCertificateBouncerFile: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKey -}}
|
|
||||||
crowdsecLapiTLSCertificateBouncerKey: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
{{ with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile -}}
|
|
||||||
crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
|
|
||||||
{{- end -}}
|
|
|
@ -29,6 +29,10 @@ title: Changelog
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,7 +97,3 @@ title: Changelog
|
||||||
### Chore
|
### Chore
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- update metadata in chart.yaml ([#17457](https://github.com/truecharts/charts/issues/17457))
|
|
||||||
|
|
||||||
|
|
|
@ -36,4 +36,4 @@ sources:
|
||||||
- https://github.com/truecharts/charts/tree/master/charts/enterprise/traefik
|
- https://github.com/truecharts/charts/tree/master/charts/enterprise/traefik
|
||||||
- https://github.com/truecharts/containers/tree/master/apps/traefik
|
- https://github.com/truecharts/containers/tree/master/apps/traefik
|
||||||
type: application
|
type: application
|
||||||
version: 26.4.3
|
version: 26.4.7
|
|
@ -438,8 +438,8 @@ middlewares:
|
||||||
# modSecurityUrl: modSecurity container URL
|
# modSecurityUrl: modSecurity container URL
|
||||||
# timeoutMillis: Configurated timeout
|
# timeoutMillis: Configurated timeout
|
||||||
# maxBodySize: maxBodySize
|
# maxBodySize: maxBodySize
|
||||||
crowdsecBouncer: []
|
bouncer: []
|
||||||
# - name: modsecurityName
|
# - name: bouncer
|
||||||
# enabled: false
|
# enabled: false
|
||||||
# logLevel: DEBUG
|
# logLevel: DEBUG
|
||||||
# updateIntervalSeconds: 60
|
# updateIntervalSeconds: 60
|
||||||
|
@ -487,7 +487,7 @@ persistence:
|
||||||
mountPath: "/plugins-storage"
|
mountPath: "/plugins-storage"
|
||||||
type: emptyDir
|
type: emptyDir
|
||||||
crowdsec-bouncer-tls:
|
crowdsec-bouncer-tls:
|
||||||
enabled: "{{ if .Values.middlewares.crowdsecBouncer }}true{{ else }}false{{ end }}"
|
enabled: "{{ if .Values.middlewares.bouncer }}true{{ else }}false{{ end }}"
|
||||||
mountPath: "/etc/traefik/crowdsec-certs"
|
mountPath: "/etc/traefik/crowdsec-certs"
|
||||||
type: secret
|
type: secret
|
||||||
expandObjectName: false
|
expandObjectName: false
|
|
@ -181,8 +181,8 @@ args:
|
||||||
- "--experimental.localPlugins.traefik-modsecurity-plugin.modulename=github.com/acouvreur/traefik-modsecurity-plugin"
|
- "--experimental.localPlugins.traefik-modsecurity-plugin.modulename=github.com/acouvreur/traefik-modsecurity-plugin"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{/* CrowdsecBouncer */}}
|
{{/* CrowdsecBouncer */}}
|
||||||
{{- if .Values.middlewares.crowdsecBouncer }}
|
{{- if .Values.middlewares.bouncer }}
|
||||||
- "--experimental.localPlugins.crowdsec-bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
|
- "--experimental.localPlugins.bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{/* End of ModSecurity */}}
|
{{/* End of ModSecurity */}}
|
||||||
{{/* RewriteResponseHeaders */}}
|
{{/* RewriteResponseHeaders */}}
|
|
@ -8,9 +8,9 @@ metadata:
|
||||||
name: default
|
name: default
|
||||||
spec:
|
spec:
|
||||||
certificates:
|
certificates:
|
||||||
- secretName: clusterissuer-templated-{{ tpl .Values.defaultCertificate $ }}
|
- secretName: certificate-issuer-{{ tpl .Values.defaultCertificate $ }}
|
||||||
defaultCertificate:
|
defaultCertificate:
|
||||||
secretName: clusterissuer-templated-{{ tpl .Values.defaultCertificate $ }}
|
secretName: certificate-issuer-{{ tpl .Values.defaultCertificate $ }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- range $name, $config := .Values.tlsStore }}
|
{{- range $name, $config := .Values.tlsStore }}
|
|
@ -0,0 +1,112 @@
|
||||||
|
{{- range $index, $middlewareData := .Values.middlewares.bouncer }}
|
||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: Middleware
|
||||||
|
metadata:
|
||||||
|
name: {{ ternary (printf "%v-%v" $.Release.Name $middlewareData.name) $middlewareData.name $.Values.ingressClass.enabled }}
|
||||||
|
namespace: {{ $.Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
plugin:
|
||||||
|
bouncer:
|
||||||
|
{{- with $middlewareData.enabled }}
|
||||||
|
enabled: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.logLevel }}
|
||||||
|
logLevel: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.updateIntervalSeconds }}
|
||||||
|
updateIntervalSeconds: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.defaultDecisionSeconds }}
|
||||||
|
defaultDecisionSeconds: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.httpTimeoutSeconds }}
|
||||||
|
httpTimeoutSeconds: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecMode }}
|
||||||
|
crowdsecMode: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecAppsecEnabled }}
|
||||||
|
crowdsecAppsecEnabled: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecAppsecHost }}
|
||||||
|
crowdsecAppsecHost: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecAppsecFailureBlock }}
|
||||||
|
crowdsecAppsecFailureBlock: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiKey }}
|
||||||
|
crowdsecLapiKey: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiKeyFile }}
|
||||||
|
crowdsecLapiKeyFile: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiHost }}
|
||||||
|
crowdsecLapiHost: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiScheme }}
|
||||||
|
crowdsecLapiScheme: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSInsecureVerify }}
|
||||||
|
crowdsecLapiTLSInsecureVerify: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecCapiMachineId }}
|
||||||
|
crowdsecCapiMachineId: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecCapiPassword }}
|
||||||
|
crowdsecCapiPassword: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $middlewareData.crowdsecCapiScenarios }}
|
||||||
|
crowdsecCapiScenarios:
|
||||||
|
{{- range $middlewareData.crowdsecCapiScenarios }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $middlewareData.forwardedHeadersTrustedIPs }}
|
||||||
|
forwardedHeadersTrustedIPs:
|
||||||
|
{{- range $middlewareData.forwardedHeadersTrustedIPs }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if $middlewareData.clientTrustedIPs }}
|
||||||
|
clientTrustedIPs:
|
||||||
|
{{- range $middlewareData.clientTrustedIPs }}
|
||||||
|
- {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.forwardedHeadersCustomName }}
|
||||||
|
forwardedHeadersCustomName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.redisCacheEnabled }}
|
||||||
|
redisCacheEnabled: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.redisCacheHost }}
|
||||||
|
redisCacheHost: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.redisCachePassword }}
|
||||||
|
redisCachePassword: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.redisCacheDatabase }}
|
||||||
|
redisCacheDatabase: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthority }}
|
||||||
|
crowdsecLapiTLSCertificateAuthority: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateAuthorityFile }}
|
||||||
|
crowdsecLapiTLSCertificateAuthorityFile: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncer }}
|
||||||
|
crowdsecLapiTLSCertificateBouncer: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerFile }}
|
||||||
|
crowdsecLapiTLSCertificateBouncerFile: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKey }}
|
||||||
|
crowdsecLapiTLSCertificateBouncerKey: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with $middlewareData.crowdsecLapiTLSCertificateBouncerKeyFile }}
|
||||||
|
crowdsecLapiTLSCertificateBouncerKeyFile: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
{{- end }}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue