traefik-errors

by pascaliske

Helm chartv4.0.0App 1.1.0Verified publisher

A Helm chart for custom traefik error pages

About this chart

traefik-errors

A Helm chart for custom traefik error pages

Requirements

  • helm - Refer to their docs to get started.

Usage

To use this chart add the repo as follows:

helm repo add pascaliske https://charts.pascaliske.dev

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages.

To install this chart simply run the following command:

helm install traefik-errors pascaliske/traefik-errors

To uninstall this chart simply run the following command:

helm delete traefik-errors

Values

The following values can be used to adjust the helm chart.

KeyTypeDefaultDescription
affinityobject{}Pod-level affinity. More info here.
certificate.annotationsobject{}Additional annotations for the certificate object.
certificate.createboolfalseCreate an Certificate object for the exposed chart.
certificate.dnsNameslist[]List of subject alternative names for the certificate.
certificate.issuerRef.kindstring"ClusterIssuer"Type of the referenced certificate issuer. Can be "Issuer" or "ClusterIssuer".
certificate.issuerRef.namestring""Name of the referenced certificate issuer.
certificate.labelsobject{}Additional labels for the certificate object.
certificate.secretNamestring""Name of the secret in which the certificate will be stored. Defaults to the first item in dnsNames.
controller.annotationsobject{}Additional annotations for the controller object.
controller.enabledbooltrueCreate a workload for this chart.
controller.kindstring"Deployment"Type of the workload object.
controller.labelsobject{}Additional labels for the controller object.
controller.replicasint1The number of replicas.
env[0]object{"name":"TZ","value":"UTC"}Timezone for the container.
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"The pull policy for the controller.
image.repositorystring"ghcr.io/pascaliske/traefik-errors"The repository to pull the image from.
image.tagstring.Chart.AppVersionThe docker tag, if left empty chart's appVersion will be used.
ingressRoute.annotationsobject{}Additional annotations for the ingress route object.
ingressRoute.createboolfalseCreate an IngressRoute object for exposing this chart.
ingressRoute.entryPointslist[]List of entry points on which the ingress route will be available.
ingressRoute.labelsobject{}Additional labels for the ingress route object.
ingressRoute.middlewareslist[]List of middleware objects for the ingress route.
ingressRoute.rulestring""Matching rule for the underlying router.
ingressRoute.tlsSecretNamestring""Use an existing secret containing the TLS certificate.
middleware.annotationsobject{}Additional annotations for the middleware object.
middleware.createboolfalseCreate an Middleware object for the exposed chart.
middleware.homeUrlstring""Optional home url parameter for the error pages.
middleware.labelsobject{}Additional labels for the middleware object.
middleware.namestring""Set explicit name of middleware, defaults to chart name.
middleware.statusCodeslist["400-599"]List of error codes which result in an error page.
nameOverridestring""
ports.http.enabledbooltrueEnable the port inside the controller and Service objects.
ports.http.portint8080The port used as internal port and cluster-wide port if .service.type == ClusterIP.
ports.http.protocolstring"TCP"The protocol used for the service.
resourcesobject{}Compute resources used by the container. More info here.
service.annotationsobject{}Additional annotations for the service object.
service.enabledbooltrueCreate a service for exposing this chart.
service.labelsobject{}Additional labels for the service object.
service.typestring"ClusterIP"The service type used.
serviceAccount.namestring""Specify the service account used for the controller.
tolerationslist[]Pod-level tolerations. More info here.

Maintainers

NameEmailUrl
pascaliske[email protected]https://pascaliske.dev

License

MIT – © 2023 Pascal Iske

Deploy traefik-errors with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has traefik-errors on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttraefik-errors is pinned at v4.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply