From 0b4ca0903f5fa3db354fc510be7c1c736f915d70 Mon Sep 17 00:00:00 2001 From: Arsham Teymouri Date: Mon, 16 Aug 2021 17:40:43 +0300 Subject: [PATCH] remove nginx configs as they are copied to the container in the build time --- helm/templates/frontend-env-config.yaml | 10 ------ helm/templates/frontend-nginx-configmap.yaml | 37 -------------------- 2 files changed, 47 deletions(-) delete mode 100644 helm/templates/frontend-env-config.yaml delete mode 100644 helm/templates/frontend-nginx-configmap.yaml diff --git a/helm/templates/frontend-env-config.yaml b/helm/templates/frontend-env-config.yaml deleted file mode 100644 index 4d2a563..0000000 --- a/helm/templates/frontend-env-config.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: frontend-env-config -data: - env-config.js: | - window.process_env = { - SUBSTRATE_TELEMETRY_URL: "wss://feed.telemetry.parity-stg.parity.io/feed", - SUBSTRATE_TELEMETRY_SAMPLE: "", - } diff --git a/helm/templates/frontend-nginx-configmap.yaml b/helm/templates/frontend-nginx-configmap.yaml deleted file mode 100644 index 7ae74dd..0000000 --- a/helm/templates/frontend-nginx-configmap.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: frontend-nginx -data: - nginx.conf: | - user nginx; - worker_processes auto; - worker_rlimit_nofile 30000; - error_log /var/log/nginx/error.log warn; - pid /var/run/nginx.pid; - - events { - worker_connections 8000; - } - - http { - default_type application/octet-stream; - include /etc/nginx/mime.types; - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - access_log /var/log/nginx/access.log main; - sendfile on; - #tcp_nopush on; - keepalive_timeout 65; - gzip on; - include /etc/nginx/conf.d/*.conf; - #server_tokens off; - - server { - root /usr/share/nginx/html; - index index.html; - listen 8000; - server_name _; - } - }