xcad2k il y a 4 ans
Parent
commit
07c6afcbed
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      kubernetes/templates/cm-and-secrets/nginx-http-cm.yml

+ 6 - 2
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;
         }
       }
     }