21 lines
530 B
YAML
21 lines
530 B
YAML
controller:
|
|
config:
|
|
custom-http-errors: "404,503"
|
|
defaultBackend:
|
|
enabled: true
|
|
image:
|
|
registry: registry.k8s.io
|
|
image: ingress-nginx/nginx-errors
|
|
tag: "v20231208-4c39e6acc@sha256:c2ca20775f41c0c89906dc74a31239d94ac48e84e7c6164affed41fe669cdaa5"
|
|
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
|