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 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: custom_error_pages name: custom-error-pages
data: data:
404: | 404: |
<!DOCTYPE html> <!DOCTYPE html>

View file

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

Binary file not shown.