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.1@sha256:e7cfbc196ad253ed9579f08c3723ca7268b6273d9a0ddcfe875723faa99e9dd4
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