diff --git a/.gitignore b/.gitignore index 7d1a391..7884be8 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ yarn-error.log *.launch .settings/ *.sublime-workspace +*.iml # Visual Studio Code .vscode/ diff --git a/helm/okdp-ui/Chart.yaml b/helm/okdp-ui/Chart.yaml index b6d2c3d..ad58aab 100644 --- a/helm/okdp-ui/Chart.yaml +++ b/helm/okdp-ui/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: okdp-ui description: OKDP UI Helm chart type: application -version: "0.4.0" -appVersion: "0.4.0" +version: "0.4.1" +appVersion: "0.4.1" home: https://okdp.io maintainers: - email: idir.izitounene@kubotal.io diff --git a/helm/okdp-ui/README.md b/helm/okdp-ui/README.md index 677c1e7..5499c0a 100644 --- a/helm/okdp-ui/README.md +++ b/helm/okdp-ui/README.md @@ -1,6 +1,6 @@ # okdp-ui -![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.0](https://img.shields.io/badge/AppVersion-0.4.0-informational?style=flat-square) +![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.4.1](https://img.shields.io/badge/AppVersion-0.4.1-informational?style=flat-square) OKDP UI Helm chart diff --git a/helm/okdp-ui/templates/nginx-config.yaml b/helm/okdp-ui/templates/nginx-config.yaml index 710e3bf..8f82093 100644 --- a/helm/okdp-ui/templates/nginx-config.yaml +++ b/helm/okdp-ui/templates/nginx-config.yaml @@ -8,28 +8,27 @@ data: default.conf: | server { listen 4200; - listen [::]:4200; server_name localhost; - + root /usr/share/nginx/html; index index.html; - + # Gestion des assets statiques location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ { expires 1y; add_header Cache-Control "public, immutable"; try_files $uri =404; } - + # Configuration pour SPA - toutes les routes pointent vers index.html location / { try_files $uri $uri/ /index.html; } - + # Health check endpoint location /health { access_log off; return 200 "healthy\n"; add_header Content-Type text/plain; } - } \ No newline at end of file + }