From 3906ecc2fe1002a8dd42b49ec34765a24a9aa612 Mon Sep 17 00:00:00 2001 From: iizitounene Date: Wed, 17 Dec 2025 19:39:57 +0100 Subject: [PATCH 1/2] fix(nginx): drop IPv6 nginx from config --- .gitignore | 1 + helm/okdp-ui/Chart.yaml | 4 ++-- helm/okdp-ui/templates/nginx-config.yaml | 11 +++++------ 3 files changed, 8 insertions(+), 8 deletions(-) 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/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 + } From 84c7bacebe5ccd82d2b6fe008b756c1252ca172c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 18:42:25 +0000 Subject: [PATCH 2/2] [helm-docs] Update readme --- helm/okdp-ui/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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