Feat: traefik package, added min_tls param
This commit is contained in:
parent
b7408c9f0c
commit
ff89b15375
@ -18,6 +18,7 @@
|
|||||||
- false: Enable http enpoints and disable https ones.
|
- false: Enable http enpoints and disable https ones.
|
||||||
- true: Enable http and https endpoints.
|
- true: Enable http and https endpoints.
|
||||||
- only: Enable https endpoints and redirect http to https.
|
- only: Enable https endpoints and redirect http to https.
|
||||||
|
- https_min_tls = "" # See the [traefik documentation](https://docs.traefik.io/configuration/entrypoints/#specify-minimum-tls-version) for allowed values.
|
||||||
- acme_enable = false # Enable/Disable acme traefik support.
|
- acme_enable = false # Enable/Disable acme traefik support.
|
||||||
- acme_email = "test@traefik.io" # acme user email
|
- acme_email = "test@traefik.io" # acme user email
|
||||||
- acme_ondemand = true # acme ondemand parameter.
|
- acme_ondemand = true # acme ondemand parameter.
|
||||||
|
@ -28,6 +28,9 @@ services:
|
|||||||
- TRAEFIK_HTTPS_PORT=${https_port}
|
- TRAEFIK_HTTPS_PORT=${https_port}
|
||||||
- TRAEFIK_HTTPS_ENABLE=${https_enable}
|
- TRAEFIK_HTTPS_ENABLE=${https_enable}
|
||||||
- TRAEFIK_HTTPS_COMPRESSION=${compress_enable}
|
- TRAEFIK_HTTPS_COMPRESSION=${compress_enable}
|
||||||
|
{{- if ne .Values.https_min_tls ""}}
|
||||||
|
- TRAEFIK_HTTPS_MIN_TLS=${https_min_tls}
|
||||||
|
{{- end}}
|
||||||
{{- if ne .Values.ssl_key ""}}
|
{{- if ne .Values.ssl_key ""}}
|
||||||
- TRAEFIK_SSL_KEY=${ssl_key}
|
- TRAEFIK_SSL_KEY=${ssl_key}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
@ -70,6 +70,14 @@ catalog:
|
|||||||
- false
|
- false
|
||||||
- true
|
- true
|
||||||
- only
|
- only
|
||||||
|
- variable: "https_min_tls"
|
||||||
|
description: |
|
||||||
|
Minimal allowed tls version to accept connections from.
|
||||||
|
See the traefik documentation for allowed values. Default is `VersionTLS12`.
|
||||||
|
label: "Https min tls:"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
type: "string"
|
||||||
- variable: "acme_enable"
|
- variable: "acme_enable"
|
||||||
description: "Enable acme support on traefik."
|
description: "Enable acme support on traefik."
|
||||||
label: "ACME enable:"
|
label: "ACME enable:"
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
- false: Enable http enpoints and disable https ones.
|
- false: Enable http enpoints and disable https ones.
|
||||||
- true: Enable http and https endpoints.
|
- true: Enable http and https endpoints.
|
||||||
- only: Enable https endpoints and redirect http to https.
|
- only: Enable https endpoints and redirect http to https.
|
||||||
|
- https_min_tls = "" # See the [traefik documentation](https://docs.traefik.io/configuration/entrypoints/#specify-minimum-tls-version) for allowed values.
|
||||||
- acme_enable = false # Enable/Disable acme traefik support.
|
- acme_enable = false # Enable/Disable acme traefik support.
|
||||||
- acme_email = "test@traefik.io" # acme user email
|
- acme_email = "test@traefik.io" # acme user email
|
||||||
- acme_ondemand = true # acme ondemand parameter.
|
- acme_ondemand = true # acme ondemand parameter.
|
||||||
|
@ -28,6 +28,9 @@ services:
|
|||||||
- TRAEFIK_HTTPS_PORT=${https_port}
|
- TRAEFIK_HTTPS_PORT=${https_port}
|
||||||
- TRAEFIK_HTTPS_ENABLE=${https_enable}
|
- TRAEFIK_HTTPS_ENABLE=${https_enable}
|
||||||
- TRAEFIK_HTTPS_COMPRESSION=${compress_enable}
|
- TRAEFIK_HTTPS_COMPRESSION=${compress_enable}
|
||||||
|
{{- if ne .Values.https_min_tls ""}}
|
||||||
|
- TRAEFIK_HTTPS_MIN_TLS=${https_min_tls}
|
||||||
|
{{- end}}
|
||||||
{{- if ne .Values.ssl_key ""}}
|
{{- if ne .Values.ssl_key ""}}
|
||||||
- TRAEFIK_SSL_KEY=${ssl_key}
|
- TRAEFIK_SSL_KEY=${ssl_key}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
@ -70,6 +70,14 @@ catalog:
|
|||||||
- false
|
- false
|
||||||
- true
|
- true
|
||||||
- only
|
- only
|
||||||
|
- variable: "https_min_tls"
|
||||||
|
description: |
|
||||||
|
Minimal allowed tls version to accept connections from.
|
||||||
|
See the traefik documentation for allowed values. Default is `VersionTLS12`.
|
||||||
|
label: "Https min tls:"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
type: "string"
|
||||||
- variable: "acme_enable"
|
- variable: "acme_enable"
|
||||||
description: "Enable acme support on traefik."
|
description: "Enable acme support on traefik."
|
||||||
label: "ACME enable:"
|
label: "ACME enable:"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user