Files
k8s-at-home-charts/charts/stable/error-pages
renovate[bot] 0e12f5b54e chore(deps): update helm chart common to v4.5.2 (#1729)
* chore(deps): update helm chart common to v4.5.2

* chore: Auto-update chart metadata

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2022-08-02 16:32:34 +02:00
..
2022-02-04 15:01:17 +01:00
2022-02-04 15:01:17 +01:00
2022-02-04 15:01:17 +01:00

error-pages

Version: 1.2.1 AppVersion: 2.6.0

Server error pages in the docker image

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.16.0-0

Dependencies

Repository Name Version
https://library-charts.k8s-at-home.com common 4.5.1

TL;DR

helm repo add k8s-at-home https://k8s-at-home.com/charts/
helm repo update
helm install error-pages k8s-at-home/error-pages

Installing the Chart

To install the chart with the release name error-pages

helm install error-pages k8s-at-home/error-pages

Uninstalling the Chart

To uninstall the error-pages deployment

helm uninstall error-pages

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install error-pages \
  --set env.TZ="America/New York" \
    k8s-at-home/error-pages

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install error-pages k8s-at-home/error-pages -f values.yaml

Custom configuration

For use with Traefik you will also need to create a IngressRoute and Middleware, see the examples below:

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: error-pages
  namespace: networking
spec:
  entryPoints:
    - websecure
  routes:
    - kind: Rule
      match: HostRegexp(`{host:.+}`)
      priority: 1
      services:
        - kind: Service
          name: error-pages
          port: 8080
  tls:
    secretName: error-pages-tls
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: error-pages
  namespace: networking
spec:
  errors:
    status:
      - "400-599"
    query: /{status}.html
    service:
      name: error-pages
      port: 8080

Values

Important: When deploying an application Helm chart you can add more values from our common library chart here

Key Type Default Description
env object See below environment variables. See the error-pages documentation for more info.
env.SHOW_DETAILS string "false" Enable details on error pages
env.TEMPLATE_NAME string "l7-dark" Set the template
env.TZ string "UTC" Set the container timezone
image.pullPolicy string "IfNotPresent" image pull policy
image.repository string "ghcr.io/tarampampam/error-pages" image repository
image.tag string "2.6.0" image tag
ingress.main object See values.yaml Enable and configure ingress settings for the chart under this key.
persistence object See values.yaml Configure persistence settings for the chart under this key.
service.main.ports.http.port int 8080

Changelog

Version 1.2.1

Added

N/A

Changed

  • Upgraded common chart dependency to version 4.5.1

Fixed

N/A

Older versions

A historical overview of changes can be found on ArtifactHUB

Support


Autogenerated from chart metadata using helm-docs v0.1.1