From bd71beab65b274d0ac4dac89a294ab0a1abe0c60 Mon Sep 17 00:00:00 2001 From: Daniel Lim Date: Wed, 9 Mar 2022 23:56:13 +0900 Subject: [PATCH] Names cannot contain _ (underscore)! So I changed it to -. (#8300) * The name can't use _(underscore)! So fix it! The name can't use _(underscore)! So fix it! * Fix configMap name can't use _(underscore) Fix configMap name can't use _(underscore) --- .../custom-default-backend-error_pages.configMap.yaml | 2 +- .../custom-errors/custom-default-backend.helm.values.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/examples/customization/custom-errors/custom-default-backend-error_pages.configMap.yaml b/docs/examples/customization/custom-errors/custom-default-backend-error_pages.configMap.yaml index 86b1c44e85..303734c908 100644 --- a/docs/examples/customization/custom-errors/custom-default-backend-error_pages.configMap.yaml +++ b/docs/examples/customization/custom-errors/custom-default-backend-error_pages.configMap.yaml @@ -3,7 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: custom_error_pages + name: custom-error-pages data: 404: | diff --git a/docs/examples/customization/custom-errors/custom-default-backend.helm.values.yaml b/docs/examples/customization/custom-errors/custom-default-backend.helm.values.yaml index ce42bb9b55..fc00707ceb 100644 --- a/docs/examples/customization/custom-errors/custom-default-backend.helm.values.yaml +++ b/docs/examples/customization/custom-errors/custom-default-backend.helm.values.yaml @@ -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