From 07c6afcbed614ac3939d11707da273cac5dbfb24 Mon Sep 17 00:00:00 2001 From: xcad2k <28359525+xcad2k@users.noreply.github.com> Date: Fri, 12 Nov 2021 15:48:39 +0100 Subject: [PATCH] cm update 1 --- kubernetes/templates/cm-and-secrets/nginx-http-cm.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml b/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml index ddeb53a..6fb4668 100644 --- a/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml +++ b/kubernetes/templates/cm-and-secrets/nginx-http-cm.yml @@ -3,6 +3,10 @@ kind: ConfigMap metadata: name: nginx-http-cm data: + # key: value + # file: | + # content + # --- nginx.conf: | user nginx; worker_processes 1; @@ -14,8 +18,8 @@ data: listen 80; server_name _; location / { - root /usr/share/nginx/html; - index index.html index.htm; + root /usr/share/nginx/html; + index index.html index.htm; } } } \ No newline at end of file