Deploy GitHub Pages

This commit is contained in:
k8s-ci-robot 2022-03-09 14:57:20 +00:00
parent 8a8ad8f0ab
commit a2c243b69d
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: custom_error_pages
name: custom-error-pages
data:
404: |
<!DOCTYPE html>

View file

@ -7,14 +7,14 @@ defaultBackend:
image: ingress-nginx/nginx-errors
tag: "0.48.1"
extraVolumes:
- name: custom_error_pages
- name: custom-error-pages
configMap:
name: custom_error_pages
name: custom-error-pages
items:
- key: "404"
path: "404.html"
- key: "503"
path: "503.html"
extraVolumeMounts:
- name: custom_error_pages
- name: custom-error-pages
mountPath: /www

Binary file not shown.