ingress-nginx/docs/examples/customization/custom-errors/custom-default-backend.helm...

22 lines
521 B
YAML

controller:
config:
custom-http-errors: "404,503"
defaultBackend:
enabled: true
image:
registry: registry.k8s.io
image: ingress-nginx/custom-error-pages
tag: v1.2.3@sha256:dbe7ec7c1556281fa71f4ec974693b51bfb91970477313dcc9262a4e44ecec4d
extraVolumes:
- name: custom-error-pages
configMap:
name: custom-error-pages
items:
- key: "404"
path: "404.html"
- key: "503"
path: "503.html"
extraVolumeMounts:
- name: custom-error-pages
mountPath: /www