Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ yarn-error.log
*.launch
.settings/
*.sublime-workspace
*.iml

# Visual Studio Code
.vscode/
Expand Down
4 changes: 2 additions & 2 deletions helm/okdp-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion helm/okdp-ui/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
11 changes: 5 additions & 6 deletions helm/okdp-ui/templates/nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}